"Flush" method?

FlyBoy

Well-known member
Joined
Sep 6, 2004
Messages
106
what it really used for?
i use it all the time,before closing a file when using streamXXXXX.
but i really dont know what its doing...and why i have to use it.
10x in advance
 
PlausiblyDamp said:
The flush method simply forces any buffered data to be written out to the underlying file.

i see...so before the "flush" nothing is written yet? until the flush that copies everything from the buffer to the file?

10x!!!
 
Back
Top