views:

88

answers:

2

I can do it in Java, Python, Haskell... how do you do it in DrScheme? A customary google search didn't yield the answer.

+1  A: 

I know this is MIT Scheme, not DrScheme, but have you tried flush-output?

Matthew Cole
Yes, `flush-output` is the name that PLT uses too. If you search the docs you'll find it: http://docs.plt-scheme.org/search/?q=flush-output
Eli Barzilay
A: 

If you use the R6RS language, you can use flush-output-port (PLT docs). It's also specified in the SRFI-82.

Inshallah