STOP Verb

Syntax

STOP

Description

When not in a public program, the END and STOP verbs:

  • Perform a RESET.

  • CLOSE all channels other than channel 0.

  • Turn off the trace.

  • Set the program execution counter to the first line of the program.

  • Place PRO/5 in console mode.

NOTE: The only difference between END and STOP is when a program MERGEs program lines from a file. When END is the first verb in the line, MERGE terminates. Use END only at the end of a program.

In a public program, END and STOP are identical to EXIT. In a compound statement, END and STOP can be followed only by ELSE, FI, or REM. See the END verb.

Examples

>STOP
65534 STOP

See Also

Verbs - Alphabetical Listing