RESET Verb
Syntax
RESET
Description
-
Incomplete GOSUBs, FOR .. NEXT, REPEAT .. UNTIL, and WHILE .. WEND loops are reset.
-
Precision is set to the default value (2, unless a different default is set in the config.bbx file).
-
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 or specified 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. |
Examples
1000 RESET