From: Siep Korteling Date: 2008-02-23T05:48:43+09:00 Subject: Re: Sorry very newbie post! Steve wrote: > Ok so I just got myself Chris Pines book and started with the > questions in it and the first short prog I type in SciTE is > > puts 'Hi, what\`s your first name? ' > name = gets > puts 'your name is ' + name > In Scite, the output is buffered. All output will be printed when your program is finished. Very annoying. You can flush the buffer like this: puts 'Hi, what\`s your first name? ' STDOUT.flush name = gets # note you will get a name and a newline character here. puts 'your name is ' + name Output will be printed in thew right pane of SciTE. Regards, Siep -- Posted via http://www.ruby-forum.com/.