From: Stefan Mahlitz Date: 2011-08-15T01:03:42+09:00 Subject: Re: Getting information from keyboard jake kaiden wrote in post #1016606: > hi, > > i use SciTe regularly, and like it a lot, but unfortunately #gets will > not work with it... you'll have to run the program from the terminal as > mentioned above. > > > - j It is hard to find, but possible to enter data from stdin with SciTE. Just press F8 (so the output-pane is visible) and enter the data there. Additionally, the OP should use chomp instead of chomp! as the latter may return nil. http://ruby-doc.org/core/classes/String.src/M001195.html -- Posted via http://www.ruby-forum.com/.