SET DOESCAPE

From Recital Documentation Wiki
Revision as of 16:17, 10 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

SET DOESCAPE

Class

Keyboard Events


Purpose

Determine what happens when the interrupt key is pressed


Syntax

SET DOESCAPE ON | OFF | (<expL>)


See Also

SET ESCAPE, ON ESCAPE, ON KEY, INKEY()


Description

If SET DOESCAPE is ON, and ESCAPE is ON, and a command is executing in a program file, when the interrupt key is pressed, the command is canceled and execution of the program continues with the next command. The DOESCAPE command differs from the ESCAPE command in that interruption of a program only cancels the current command being executed. If ESCAPE is OFF, SET DOESCAPE has no effect. By default, DOESCAPE is OFF.


Example

//program longsort
set doescape on
set escape on
sort on name /a, event /d, date /a
return

use patrons
do longsort


Products

Recital Terminal Developer