Command QUIT Foundation
Ends an Xbase++ program.
QUIT | CANCEL [<nErrorLevel>]
The command QUIT (or CANCEL) ends an Xbase++ program and returns control to the operating system. Before termination, all files in all work areas are closed and all outstanding file updates are completed. When a program is ended normally, its return value is zero. If an error occurred, the return value is one. This value can be retrieved on the operating system level. It also can be specified as a numeric parameter <nErrorLevel> or be set explicitly by using the function ErrorLevel() before the program ends.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.