Load name:Str
TryLoad name:Str

Load a script. The parameter is a file name. That file is loaded and executed, as if its content were part of a subroutine.

For Load, it is an error if the file cannot be found.

For TryLoad, it is not an error if the file cannot be found, but errors during its execution are still reported (whereas Try Load file would "swallow" all errors). This makes it ideal for loading optional files.

Since: PCC 1.0.6, PCC2 1.99.9

See also: Elementary Commands