Ari Brown
9/1/2007 4:31:00 PM
On Sep 1, 2007, at 5:20 AM, gu wrote:
> no, i'm not using irb. maybe there's an os compatibility problem
> going on? i'm testin it in windows xp sp2..
Well, to help you answer your original question.... Are you using an
IDE? A problem that often occurs with Windows IDEs is that it will
ask all of the gets() and then puts() them out. In other words, you
may have a syncing issue going on.
STDOUT.sync = true
But, in the words of Avdi Grimm (sic), don't make a habit out of it.
Synchronous output is a great way to slow down your code.
aRi
-------------------------------------------|
Nietzsche is my copilot