I'm a little behind with the handling of files in Blitz3D. How would one append data to a file? I'm making a trace system, and right now I'm doing ReadLines to get to the end of the file so I can add more trace data.
Any help appreciated.
EDIT: I think I'd need to get the file length and perform a seek on the file using that length (in bytes).
term\trace_file_handle = OpenFile(TRM_default_trace_filename$) While Not Eof(term\trace_file_handle) dummy$ = ReadLine (term\trace_file_handle) Wend
Any help appreciated.
EDIT: I think I'd need to get the file length and perform a seek on the file using that length (in bytes).