love.filesystem.newFile( filename )
Usage
love.filesystem.newFile( filename )
Arguments
filenameThe filename of the File.
Returns
FileThe newly created file.
Examples
Example 1: Creating a new file.
function load()
file = love.filesystem.newFile("data.dat")
love.filesystem.open(file)
-- Read from file.
love.filesystem.close(file)
end