WriteFile
From OxeyeWiki
(Difference between revisions)
Jeb (Talk | contribs)
(Created page with 'The WriteFile class will create a binary file for writing. === Example === <pre> local path = daisy.getUserFolderPath("") local file = WriteFile(path .. filename) fil...')
Newer edit →
(Created page with 'The WriteFile class will create a binary file for writing. === Example === <pre> local path = daisy.getUserFolderPath("") local file = WriteFile(path .. filename) fil...')
Newer edit →
Revision as of 18:20, 7 February 2010
The WriteFile class will create a binary file for writing.
Example
local path = daisy.getUserFolderPath("") local file = WriteFile(path .. filename) file:writeInt(fileVersion) file:writeString(playerName) -- ... and so on ... file:close()