esc-level Command

The esc-level BASIC program specifies that pressing ESC pushes a level. The esc-level command uses the set-esc command to enable the special escape key. Without any argument, the usual escape value (x'1B' or 27) is assigned to the level pushing function. The optional argument defines an alternate value.

Syntax

esc-level [decnum | .hexnum | esc | ?]

Parameter(s)

.hexnum

Indicates the key to trigger a level push, designated by its corresponding hexadecimal value.

decnum

Indicates the key to trigger a level push, designated by its corresponding decimal value.

esc

Defines escape as x'1B', the normal value for escape.

?

Displays command usage information without changing any existing settings.

Example(s)

Sets the ESC key to push a level.

esc-level

Sets a CTRL+Z to push a level.

esc-level .1a

 

NOTE

This form is not supported in Windows or Linux.

Causes a CTRL+Z to push a level, but is indicated by its decimal value.

esc-level 26

 

NOTE

This form is not supported in Windows or Linux.

Displays the help.

esc-level ?

Resets the ESC key to its normal definition.

esc-level esc

See Also

break-key Command, brk-debug Command, brk-level Command, esc-data Command, esc-toggle Command, execute Statement, keyboards File, Level Pushing, Levels, p Command, set-esc Command