WriteFile and writeString etc. Always seems to overwrite the existing document or write over the first line. I am trying to make a logfile that records certain game activity. Becasue my game also reads and writes to other streams, it's probably not ideal to keep the file open(???)
dunno though, because all the opening/closing etc could slo things down, maybe?
Here's the function Im using anyway, it's very basic...
dunno though, because all the opening/closing etc could slo things down, maybe?
Here's the function Im using anyway, it's very basic...
Function Logfile(message$) file=WriteFile("Libraries\Log.txt") m$=CurrentTime$() m$=m$+" - "+message$ WriteString(file,m$) CloseFile file End Function