Iterate over the lines in a file.
iterator = love.filesystem.lines( name )
string namefunction iteratorlocal highscores = {}
for line in love.filesystem.lines("highscores.lst") do
table.insert(highscores, line)
end
© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.filesystem.lines