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.


Public Sub Main() 
Dim hFile As File
Dim sLine As String
 
hFile = Open "../InputText.txt" For Input
 
While Not Eof(hFile)
  Line Input #hFile, sLine
  Print sLine
Wend
 
End