RUN Verb - Run Program

Syntax

RUN {fileid{,ERR=lineref}}

Description

The RUN verb either runs the current program or the fileid-specified program.

Parameter

Description

fileid

Program to be located, opened, loaded, and executed in the workspace, performing the appropriate checks and resets. Execution begins at the first line of the program.

If this parameter is not included, execution of the current program continues at the previous point, unless the continuation point was changed by a GOTO command while in console mode. Using RUN without a fileid is permitted in console mode only and places PRO/5 in run mode.

ERR=lineref

Branch to be taken if an error occurs during execution.

RUN can be used in a public program. In a compound statement, only ELSE, FI, or REM can follow RUN.

Examples

1000 RUN "TEST.BBX"
>RUN

See Also

Data Server Syntax

Verbs - Alphabetical Listing