From: JervisTown@... (dwyer@...2.ie) Date: 2007-03-31T04:00:05+09:00 Subject: Newbie needs a pointer Hi all, just started looking at Ruby in earnest today and my logic has failed me already. Can someone provide some subtle hints are to where the following code needs attension. Its currently stuck in a continuous loop, and 'q' doesnt exit the loop. #a continous loop until 'q' is press puts "Please enter your name?" name=gets while (name!='q') puts "welcome, #{name}Enter your name again:" name=gets end -- --------------------------------- --- -- - Posted with NewsLeecher v3.9 Beta 1 Web @ http://www.newsleecher.com/?usenet ------------------- ----- ---- -- -