Programming Guide |
Ends processing and leaves the current screen
jm_exit
jm_exit
closes the current form or window and returns to the previous one. If the form is the application's base form and the setup variableCLOSELAST_OPT
is set toOK_CLOSELAST
, Panther asks the user whether to exit the application.By default,
EXIT
invokes this function at runtime.
/* The following control string invokes a function named
process. If it returns 0, another function is
invoked to reinitialize the screen. If it returns -1,
the screen closes.
*/
^(-1=^jm_exit; 0=^reinit)process/* This control string replaces a form or a window with another
form or a window
*/
^(0=&w2)jm_exit