writeFile and buffering

Jorge Adriano jadrian@mat.uc.pt
Sat, 13 Apr 2002 17:27:56 +0100


Hi,
Is there any way to use writeFile with no buffering?
I know that with handles I can do,
> hSetBuffering hdl NoBuffering
Since all I do is write a string to a file, I don't see much need for han=
dles=20
here though. I wanted no buffer to be able to check the status of the pro=
gram=20
by accessing the file - I calculate thousands of values, but just write f=
ew=20
hundred so it usually ends up just writing the string in the very end.

Thanks in advance
J.A.