TCL
set-esc command
.mdThe set-esc BASIC program specifies the value of the key to treat as the ESC key. This key subsequently pushes a level when pressed.
For Windows: Not Supported
Syntax
set-esc {argument} {(options}
Parameter(s)
| argument | .hexnum | Indicates the key, designated by its corresponding hexadecimal value, to trigger a level push. |
| decnum | Indicates the key, designated by its corresponding decimal value, to trigger a level push. | |
| off | Disables this function by defining escape as x"ff". | |
| esc | Defines escape as x"1B", the normal value for escape. | |
| options | q | Quiet mode does not display output. |
The key to trigger a level push can be redefined by indicating the decimal or hexadecimal value of the character to use in place of ESC.
Warning: Assigning an unreasonable value
to the ESC key, such as ENTER, will have unpredictable results.
Example(s)
Checks the current setting for the ESC key.
set-esc Escape value x’1C’ (decimal 28)
Defines the ESC key as CTRL+C.
set-esc 3 Escape value x’03’ (decimal 3) Previous value x’1C’ (decimal 28)
Defines the ESC key as the BREAK key.
set-esc esc Escape value x’1B’ (decimal 27) Previous value x’03’ (decimal 3)
See also
Referenced by
2 topics mention set-esc command in its description.