RosettaCodeData/Task/Read-a-file-line-by-line/PascalABC.NET/read-a-file-line-by-line.pas
2024-07-13 15:19:22 -07:00

6 lines
100 B
ObjectPascal

begin
var f := OpenRead('_a.pas');
while not f.Eof do
Println(f.ReadString);
f.Close
end.