If you want to make a log file, "append" information to the file. as in psuedo code:
Create New LogFile at beginning (ie: overwrite any old file when restarting program)
(When need to throw info to the log file)
Function file_report( string$)
Open LogFile
Append string$ to LogFile
Close LogFile
End function
So when/if blitz crashes... the logfile will not be open when the crash happens.
I had a logfile include file here somewhere...
Create New LogFile at beginning (ie: overwrite any old file when restarting program)
(When need to throw info to the log file)
Function file_report( string$)
Open LogFile
Append string$ to LogFile
Close LogFile
End function
So when/if blitz crashes... the logfile will not be open when the crash happens.
I had a logfile include file here somewhere...