The esc-toggle BASIC program turns the function of the ESC key to either be treated as data (esc-data) or as a level-pushing mechanism (esc-level).
define-up command, esc-data command, esc-level command, Levels