ReadFile
From OxeyeWiki
| DaisyMoon File Objects |
|---|
Example
local path = daisy.getUserFolderPath("")
local file = ReadFile(path .. filename)
if not file:isOk() then
print("Unable to open " .. filename)
return
end
local fileVersion = file:readInt()
playerName = file:readString()
-- ... and so on ...
file:close()