SET ONERROR

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

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

SET ONERROR

Class

Error Handling and debugging


Purpose

Disable ON ERROR error handling


Syntax

SET ONERROR ON | OFF | (<expL>)


See Also

ON ERROR, SET ERRORVERSION


Description

When SET ONERROR is OFF, any ON ERROR error handling settings are disabled. To reinstate ON ERROR error handling, SET ONERROR must be set ON and the ON ERROR <command> must be reissued. This is particuarly useful for disabling ON ERROR error handling on an application or system-wide basis to allow use of the default error.mem error trapping.


Example

on error dialog box [Error]
? on("error")
dialog box [Error]

set onerror off
? on("error")


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer