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.


decl file f
f.open "filename.txt"
while (f.hasline)
        out (in string f) endl console
end while