RESET
For BBj-specific information, see RESET Verb – BBj.
The RESET verb is the lowest level of reset/initialize verbs in PRO/5. The following occur with the RESET verb:
Incomplete GOSUBs, FOR .. NEXT, REPEAT .. UNTIL, and WHILE .. WEND loops are reset.
Precision is set to two.
Any saved RETRY information is reset.
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. |
|
Discards all variables after performing a RESET. | |
|
Closes all files after performing a CLEAR and RESET. BEGIN also resets the DATA statement pointer. | |
|
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. |
1000 RESET