The RUN command starts the User Language Program from the file file_name.
The optional argument list is available to the ULP through the Builtin Variables argc and argv.
Running a ULP from a script file
If a ULP is executed from a script file and the program returns an integer value other than 0 (either because it has been terminated through a call to the exit() function or because the STOP button was clicked), execution of the script file will be terminated.
Editor commands resulting from running a ULP
A ULP can also use the exit() function with a string parameter to send a command string back to the editor window.
|Index||Copyright © 2005 CadSoft Computer GmbH|