System.RootDirectory:Str                   (read-only)

Root directory.

The root directory is the directory within the program installation directory containing the default specification files. If a specification file cannot be found in the game directory, it is looked for in the root directory. This directory typically is one of

  • /usr/local/share/planets
  • C:\Programs\PCC2\specs

Version Differences: In PCC 1.x, it is possible to concatenate this property with a file name to access a file in the root directory. This does no longer work in PCC2. Use the MakeFileName function, as in

 Open MakeFileName(System.RootDirectory, "file.txt") For Input As #1

to access files in the root directory.

See also: Global Properties

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