f = FileLines(file$)
file$
. When the
end of the file is reached, the iterator function will return Nil
to break the generic For statement.
See Generic For statement for details.
For s$ In FileLines("Highscores.txt") Do DebugPrint(s$)This will print all lines of the file "Highscores.txt".