#RUN (execute program) 

Top  Previous  Next

 

#RUN( program ) [, WAIT ]

#RUN

Launches the named program.

program

A string constant containing the name of the program to execute, including any command line parameters.

WAIT

Specifies waiting for the program to complete its execution before proceeding to the next template language statement.

The #RUN statement launches the specified program by using the Clarion language RUN statement. Template execution continues concurrently with the execution of the program, unless the WAIT attribute is specified.

Example:

#RUN('MyExe.EXE')                            #!Launch MyExe.EXE