Open name:Str For Input|Output|Random|Append As #file:File]

Open a file. The mode specifies what you intend to do with the file:

  • Input: open existing file for reading
  • Output: create new file for writing, overwrite existing file
  • Random: open existing file for reading and writing
  • Append: append to existing file or create new one

Operations with this file will use file number file. If that number already referred to an existing file before, that one will be closed first.

Since: PCC 1.0.13, PCC2 1.99.12

See also: Global Commands

This is a testing version.
It may be incomplete, and have more bugs (or features) than the public live version at planetscentral.com.