RESET
Reset Program Environment
This directive initializes certain program parameters. It accomplishes the least in a series of similar directives, which include: BEGIN, END, and STOP directives.
Syntax
Section titled “Syntax”RESETRemarks
Section titled “Remarks”This directive:
1 Does not initialize variable values to 0 or null.
2 Clears the return address stack used to hold address values for certain directives, i.e., FOR/NEXT, RETURN, RETRY, etc.).
3 Sets value of ERR and CTL to 0.
4 Sets PRECISION to 2, ends FLOATING POINT.
5 Sets SETERR and SETESC to 0.
6 Does not close any files or devices.
7 Does not set the program execution pointer to the first program line.
8 Does not DROP public programs, which have been made resident by an ADDR directive.
9 Does not DROP files that were added to the File Control Table by an ADD directive.
10 Does not affect system variables such as TIM (Time) and DAY (Date).
11 Does not terminate a SETTRACE directive.
Examples
Section titled “Examples”RESETaffects the program parameters as described above.
See also
Section titled “See also”BEGIN, CLEAR, END, and STOP directives
From the Thoroughbred Basic Language Reference, Volume III: R–Z, version 8.9.1. Open this page in the PDF