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.


var f : int
open : f, "rosetta.txt", get
loop
    exit when eof (f)
    var line: string
    get : f, line:*
    put line
end loop
close : f