Commands and Statements

Command SET ESCAPE Foundation

Activates or deactivates the Esc key as an exit key for READ.

SET ESCAPE ON | off | <lToggle>
<lToggle> is a logical expression which must appear in parentheses. Instead of the logical expression, the option ON can be specified for the value .T. (true) or OFF for the value .F. (false). When .T. or ON is specified, the execution of the READ command can be terminated using the Esc key.

The command SET ESCAPE OFF results in the ESC key being ignored as an exit key during execution of the READ command. If SET ESCAPE is set to ON (the default setting), the current READ command is terminated if the Esc key is pressed. The original value is reassigned to the variable being edited by the current Get object. Data validation specified using the options VALID or RANGE (on the @ GET... command) is ignored.

