RESET Verb

Syntax

RESET

Description

The RESET verb is the lowest level of reset/initialize verbs in PRO/5. The following occur with the RESET verb:

In PRO/5, the programmer may choose from several levels of reset. Listed from lowest to highest, the levels are RESET, CLEAR, BEGIN, and START. Each level performs all of the functions of the levels below it, plus additional functions. A brief description of each level follows.

RESET

Performs the initialization described above. RESET discards all remembered loop/return addresses and resets changeable options and traps.

CLEAR

Discards all or specified variables after performing a RESET.

BEGIN

Closes all files after performing a CLEAR and RESET. BEGIN also resets the DATA statement pointer.

START

Initializes the entire workspace after performing a BEGIN, CLEAR, and RESET. The workspace may be resized during a START. A new program may be loaded, or an empty program will exist.

Examples

1000 RESET

See Also

Verbs - Alphabetical Listing