Calls a command file N times.
CALL("comfile", n)
"comfile" |
- |
A string. The name of the command file to run. |
n |
- |
Optional. An integer specifying the number of times to call the command file. Defaults to 1. |
call("MYFILE.DSP", 2)
executes MYFILE.DSP twice from the current Worksheet.
CALL is useful for creating loops in a command file. Within a command file, use @CALL and @LOAD to CALL or LOAD other "sub" command files so that control is returned to the originating command file after the execution of the "sub" command file.