Read a file one line at a time,
as opposed to reading the entire file at once.



Related tasks

 Read a file character by character
 Input loop.


f = freefile
filename$ = "file.txt"
 
open f, filename$
 
while not eof(f)
    print readline(f)
end while
close f
end