need to use $stdout.flush
Brought to you by:
sakazuki
When I have two lines like these:
puts "Please, enter a number"
number = gets.to_i
i need to put a $stdout.flush between them because RDE
executes the gets command before puts command. If i
execute the program on console i have no proble. ¿why?
Thank you! Great IDE!
Logged In: NO
This is FAQ.
Check below."Output commands (print or puts) not work
well."
http://rubyde.sourceforge.net/hiki/en/FAQ.html