Function SetCancel() Foundation
Sets or returns whether the program can be terminated using Alt+C or Ctrl+Break.
SetCancel( [<lToggle>] ) --> lOldSetCancel
When SetCancel() is called without an argument, the function returns the current setting as a logical value. If <lToggle> is specified, the new setting specified by <lToggle> is set, and the value of the old setting is returned.
The environment function SetCancel() sets or removes the key combination Alt+C as a method to terminate a program. In the production version of applications, the Alt+C key combination should generally be disabled as a method to terminate the application, in order to force the user to leave the application by normal means.
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.