Quote:
Originally posted by fiveyes
The statement "seek logfile, 0, 0;" does nothing.
|
I don't agree with that.
First, the example you gave with your first post didn't really get through my compiler ;), that's why I gave another example.
If you drop the seek then it doesn't know where to write, you can try it -- in other words: it won't write anything, :-).
You're right about the truncate though. -- It's not necessarily and I wouldn't include it if speed was a must, but it isn't now.
What I gave is a standard code I've always use for things like this, and it sure works :-).