CANCEL*
Terminate program processing
Syntax
CANCEL* | QUIT
Description
CANCEL and QUIT both terminate the current program, closing all open files, and returning control to the operating system. You can use either command from anywhere in a Clipper program system. A RETURN executed at the highest level procedure performs the same action. Note that CANCEL is a compatibility command. QUIT should be used in its place.
Notes
. Return code: When a Clipper program terminates, the return code is set to 1 if the process ends with a fatal error. If the process ends normally, the return code is set to 0 or the last ERRORLEVEL() set in the program.
Seealso
ERRORLEVEL(), QUIT, RETURN