END Verb

Syntax

END

Description

When not in a public program, both END and STOP:

  • 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, the 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 also the STOP verb.

Examples

>END
65534 END

See Also

Verbs - Alphabetical Listing