Code: Select all
function love.load()
f = love.filesystem.newFile("note.txt")
f:open("w")
for i = 1, 10 do
f:write("This is line "..i.."!\r\n")
end
f:close()
end
Code: Select all
function love.load()
f = love.filesystem.newFile("note.txt")
f:open("w")
for i = 1, 10 do
f:write("This is line "..i.."!\r\n")
end
f:close()
end
Thank you for pointing out the save directory for me, I checked in the roaming/love folder and the file with the text was there!Robin wrote:Have you checked the save directory?
Users browsing this forum: No registered users and 1 guest