ProvideX V8.20 > Language Reference > 2. Directives
262
QUIT Directive
            Terminate ProvideX Session
Format
QUIT
Description
Use the QUIT directive to terminate a ProvideX session and return to the operating
system. If the ERR variable's value is not zero (i.e., an error has occurred) then the
operating system is informed that an error has occurred within ProvideX. This
allows you to do external testing of error conditions.
When you use QUIT in a compound statement, it must be the final directive.
See Also
BYE Terminate ProvideX, p.39
RELEASE Terminate ProvideX, p.277
Examples
8050 IF CTL=4 THEN QUIT
-:SAVE
->QUIT