OOF2: The Manual

Name

WriteMode — Write or append?

Description

WriteMode is used when opening output files of all sorts. Choosing w (which shows up in the GUI as write or OVERWRITE) will cause the existing contents of the file to be deleted when new data is added. Choosing a (append in the GUI) will cause the old data to be preserved, and new data to be appended to it.

If a file doesn't already exist, there's no difference between opening it with w and with a. However, if a data file is saved in a GUI session, and then the session is saved as a script and the script is reloaded, the file mode of the data file will make a difference, because the data file will exist when the script reopens it. The script will contain the WriteMode that was used in the original GUI session.

Values

  • w
  • a