Hello,
What I want to be able to do is, open the text file "log.txt" and write on the next line which has nothing on it.
For example, the "log.txt" has the current 2 lines in it:
Log Information 1
Log Information 2
now I want to add to the next line down, without deleting the first one.
I could do this command before I write to it:
open to read 1,"log.txt"
read string 1,Test1$
read string 1,Test2$
read string 1,Test3$
close file 1
and then do:
if Test1$ = ""
write string 1,"Log Information 3"
else
if Test2$ = ""
write string 1,"Log Information 3"
else
if Test3$ = ""
write string 1,"Log Information 3"
endif
endif
endif
however, this does work, but i am planning to have upto 40 lines.... and it would be easier to just find out if the line has nothin in it or not, and write if its free without doing this whole verfication....
Is their such command to do so?
Thanks you for your time.
Apperciate it!
I iz n00b