I need to write some strings, line by line into a binary file, and later read back the same strings line by line from the same file.
I tried the following, but failed, can someone help?
Open "a.txt" For Binary Access Write As #1
Write #1, "data1"
Write #1, "data2"
Open "a.txt" For Input Access Read As #1
Do While Not EOF(1)
Line Input #1, TextLine
'some process to store the string