RESET |
Reset Program State |
The RESET directive does the following:
1. |
Resets PRECISION to the default value of 2. |
2. |
Sets ERR, RET and CTL to zero. |
3. |
Clears FOR/NEXT, GOSUB/RETURN stack. |
4. |
Re-enables rounding mode. |
The RESET directive will reset FLOATINGPOINT to standard decimal notation, and if the system parameter 'RR' is set, the system will also perform a reset on a RUN directive. (added in PxPlus v4.20)
BEGIN Reset Files and Variables
CLEAR Reset Variables
START Restart Session
RUN Transfer and Execute a Program
'RR' Reset on RUN
FLOATINGPOINT Switch to Scientific Notation
POP Premature Exit from Stack