RUN

Function

RUN causes program execution to commence.

Syntax

RUN [line number] [numerical expression] [filename]

Examples

RUN 1000

causes execution to commence from line 1000.

Remarks

RUN is useful when program de-bugging as it initialises the system stacks, GOTO does not.

The line number may also be a variable or an expression, for example:

RUN A
RUN A*100

RUN "filename"

causes the “filename” to be loaded and executed from the work area.

RUN is a direct Basic command only.