run command

The run command invokes BASIC/FlashBASIC run time, which attempts to load and execute a compiled BASIC/FlashBASIC program.

Programs may be created and modified using the Update processor. They can be run when exiting the Update processor by using the CTRL+XR command. The CTRL+XR command files the item, compiles it, and, if there are no errors, runs it.

Syntax

 run file.reference item-ID{(options)}

Parameter(s)

options a Prohibits entry into the BASIC/FlashBASIC debugger; aborts on error conditions.
d Enters the BASIC/FlashBASIC debugger prior to execution.

This is important when parameters are passed in a call statement. The FlashBASIC debugger may also be called at any time while the program is executed by pressing BREAK on the terminal.

e Enters the debugger on any error condition.

This option forces the operator to either accept the error by using the debugger or exit to TCL.

i Inhibits variable initialization.

This option is not recommended due to reliability, transportability, and data integrity reasons. It causes the values in the variable area to be retained when the program is run. This can be specified only when run is being executed from the chain command. It allows variables to be passed from one program to the next.

n Activates the nopage function on output to the terminal.
p Directs output from print statements to the spooler.

This has the same effect as issuing a BASIC printer on statement.

s Suppresses run-time warning messages.
Warning: Programs defined as external subroutines cannot be run.