WriteFile

From OxeyeWiki

Revision as of 18:21, 7 February 2010 by Jeb (Talk | contribs)
Jump to: navigation, search
DaisyMoon File Objects
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()

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox