From: beny 18241 Date: 2009-12-19T01:21:20+09:00 Subject: simple one Hi, As i wanted to make some kind of test.I have one simple question in example below, if user puts enter , he will recive info "make a choice" How to make if user push enter twice he will recive second info "make a choice" and still there will be availabilty to choose between q and y options? ----- if $choice == '' || $choice == nil puts "\nmake a choice\n" else if $choice == 'q' print "\nGoodbye\n" else if $choice == 'y' else put "blablabla" end ---- see output that i wish to recive make a choice [enter] make a choice [enter] make a choice [q] Goodbye please help -- Posted via http://www.ruby-forum.com/.