This might help. It's from the Aspect Online Help index "Predefined Variables". I found it by searching on "variables".
"Predefined variables have several uses. If Procomm Plus is executed with a command-line in which the first parameter is a script file name, with either a .was or .wax extension, the information following the filename will be parsed into individual options. Each option will be loaded into a predefined string variable, beginning with S0. Up to 10 options can be passed to the requested script in this manner. The predefined integer variable I0 will contain a count of the parsed options. The script can use the system variable $SCRIPTMODE to determine whether it was run from the command-line, and reference I0 for the number of options provided."
Haven't used it myself. Good luck.
John Purser