Hi,
I'm trying to append data to the end of an existing file and thought that Seek() was the ticket. I thought that all I would have to do was the following:
Code: Select all
openfile(1,"RAM:Test",#MODE_WRITE)
writeline(1,"This is line 1")
closefile(1)
openfile(1,"RAM:Test",#MODE_WRITE)
seek(1,#EOF)
writeline(1,"This is line 2")
closefile(1)
openfile(1,"RAM:Test",#MODE_READ)
debugprint(readline(1))
debugprint(readline(1))
closefile(1)
Nathan