Ends execution of the current Visual FoxPro program file.
Syntax
CANCEL
Remarks
Control returns to the Command window when Visual FoxPro is being used interactively. If a distributed run-time application is running, CANCEL terminates the application and control returns to Windows. If a program is executing in Visual FoxPro during design time, CANCEL terminates the program and control returns to the Command window.
Executing CANCEL releases all private variables.