Script Parameters
Scripts can have up to 50 parameters passed to them. Parameters are accessed as read-only constants with $1, $2, $3, etc.
The variable NUMPARAMS is equal to the number of parameters passed to the current script.
Parameters are set as follows:
From the ARAP Command Line
When ARAP is started, it can automatically run a script specified as the first command line parameter. Subsequent command line parameters are passed to the script as its parameters. When a script started from the command line completes, ARAP itself is closed.
As a Sub-Script Parameter
When a sub-script is run from another script, its parameters are passed as $1, $2, etc. in the sub-script.