Alright! I am happy to report that both .flush() and IO.newline() and "\n" triggering flush on chout has been fixed/implemented (I think), along with a number of associated "features" fixed. The code is in CVS and will be released with the next version, which we might just release soon! Thanks again Kassen and all!! Best, Ge! On Wed, 21 Oct 2009, Kassen wrote:
Hi, Szilveszter!
I fear that this has to do with buffering (whether a stream is buffered or not), and if buffered, buffer size makes a difference, too.
For example, in C/C++, if you want to see the output of a fprintf() call for sure, you have to call fflush(). I don't know if it has a ChucK equivalent, though.
Ah, we're getting there! This, combined with Ge's last mail and my own report on chout.flush() crashing is going to fix it, or so I hope.
Thanks!
Kas.