@CANCEL_CODE

Length/Type:    INT, 3, Usage is Binary
Modifiable:         Yes
Default Value:    Decimal ASCII code for Control-G (7)

This system field contains the ASCII code for terminating the current form (FILL statement).  The content to any other ASCII code can be modified.  The default value for this key code is set when the ACCENT R image is activated.  Applications which depend on a particular key code should initialize it.

The system field @FILL_ACTION will be set to the value “CANCEL” and the routine specified in the “FINAL” PERFORM statement executed if one was specified (the PERFORM statement following the SELECTION statement).

NOTE:  Should not be set to any value stored in:  @FUNCTION_LIST, @TERM_LIST, @END_CODE, @REFRESH_CODE, @HELP_CODE, or Delete Key value (127).

SEE ALSO:  FILL statement/command (earlier in this section).

Back to @ERROR    Next page @END_CODE