The simplest way to evaluate a Carapace script is to use the executable caracmd.exe -- this
starts a basic command interpreter where you can type in your Carapace commands.
On startup, the global variable ::CommandLine
is defined. This is a list of strings
where the first entry is the name of the executable, and any subsequent
command line arguments form the remainder of the list.
A script can be loaded on startup using either of the following methods:
-load option is
followed by the name of the script to load -- in this way, multiple scripts can be
loaded at startup.
-load options are supplied, then the final command line argument
is taken as the name of the script to load.
| Contents | Index | Current topic: objects | Related topics: functions |