ProvideX V8.20 > Language Reference > 2. Directives
39
BYE Directive
             Terminate ProvideX Session
Format
BYE
Description
Use the BYE directive to end a ProvideX session and return to the operating system.
If the ERR system variable has a value other than 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.
The ProvideX compiler converts the BYE directive into a QUIT directive. When you
use it in a compound statement, the BYE directive must be the final directive.
See Also
QUIT Terminate ProvideX, p.262
RELEASE Terminate ProvideX, p.277