OOF2: The Manual

Name

OOF.File.Save.Property — Save the indicated Property to a file.

Synopsis

OOF.File.Save.Property(filename,mode,format,property)

Details

  • Parent Menu: OOF.File.Save
  • Callback: function saveProperty in module ooflib.engine.IO.propertymenu
  • Options: gui_only=1
  • Parameters:

    filename
    File name. Type: A character string.
    mode
    'w' to (over)write and 'a' to append. Type: An object from the WriteMode enumerated class.
    format
    File format. Type: An object from the DataFileFormat enumerated class.
    property
    Name of the property to be saved. Type: A character string.

Description

Save the given Property to a data file. The file can be read either by OOF.File.Load.Script or OOF.File.Load.Data, depending on the format. File formats are discussed in Section 2.6.