From: "Sean O'Dell" Date: 2003-09-06T13:11:45+09:00 Subject: Re: sleep command in iterators (silly n00b toy question) Thomas Yager-Madden wrote: > Hey! It works! That's so neat, thanks! > > Any chance you'd care to explain a little bit, what I just did??? ;-) > > - thos. > > > "Date" goes: > > >>[me:] >> >> >>>Anybody know how to get my idle little toy to work the way I want it to. >>>It would help me scratch this little itch way up on top my brain. >> >>Make this as the first line of your program: >> >>STDOUT.sync = true >> >>And see what happens ....................... The I/O for stdout is line-buffered. It buffers everything until a newline is sent. Sean O'Dell