ON ESCAPE
From Recital Documentation Wiki
Revision as of 16:37, 16 March 2009 by Yvonnemilne (Talk | contribs)
Contents
ON ESCAPE
Class
Keyboard Events
Purpose
Trap the interrupt key
Syntax
ON ESCAPE [<command>]
See Also
ON ERROR, ON KEY, SET DOESCAPE, SET ESCAPE
Description
The ON ESCAPE command causes the specified <command> to be executed if the interrupt key is pressed. If ON ESCAPE is specified without a <command>, then the interrupt key will not be trapped.
<command>
The <command> can be any Recital/4GL command.
Example
procedure interrupt on escape set message to "Processing canceled." close tables erase temp.tmp return to master on escape do interrupt
Products
Recital Terminal Developer