How do I append to a text file without having to read every line of the file?
10 Dim R$[512]
20 Open #1, "textfile"
30 Setfp #1, Chf(1) - 1; ! position to last block in file
40 Read #1,-2;R$; ! position to end of file
50 Print #1; "EOF"
60 Close
20 Open #1, "textfile"
30 Setfp #1, Chf(1) - 1; ! position to last block in file
40 Read #1,-2;R$; ! position to end of file
50 Print #1; "EOF"
60 Close
- FAQ:
