I wrote a file like such:
Function Append(date$, action$)
open to read 3, "Logs\"+date$+"_log.log"
temp1 = 1
temp = 1
repeat
read string 3,null$
inc temp
until file end(3)
temp2 = temp + 1
dim null_reads$(temp2)
repeat
read string 3, null_reads$(temp1)
inc temp1
until file end(3)
temp2 = temp1 + 1
null_reads$(temp2) = action$
for write_string = 1 to temp2
[i]write string 3, null_reads$(write_string)[/i]
[b]next write_string[/b]
close file 3
undim null_reads$(temp2)
endfunction
To write onto another file. However, it's not working. It goes to the line in bold and says that it can't write to a file. I think it means the one in talics though. Please help!
~QJ