Difference between revisions of "SET ONERROR"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Disable ON ERROR error handling
 
Disable ON ERROR error handling
 
  
 
==Syntax==
 
==Syntax==
 
SET ONERROR ON | OFF | (<expL>)
 
SET ONERROR ON | OFF | (<expL>)
 
  
 
==See Also==
 
==See Also==
[[DB_ERRORDIR]], [[ON ERROR]], [[SET ERRORVERSION]]
+
[[ON ERROR]], [[SET SHOWERROR]]
 
+
  
 
==Description==
 
==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.
 
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==
 
==Example==
Line 22: Line 18:
  
 
set onerror off
 
set onerror off
? on("error")</code>
+
? on("error")
 
+
</code>
 
+
  
==Products==
 
Recital Server, Recital
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 
[[Category:Set_Commands|ONERROR]]
 
[[Category:Set_Commands|ONERROR]]
[[Category:Error Handling and Debugging]]
+
[[Category:Error Handling]]
[[Category:Error Handling and Debugging Set Commands]]
+

Latest revision as of 11:25, 23 October 2013

Purpose

Disable ON ERROR error handling

Syntax

SET ONERROR ON | OFF | (<expL>)

See Also

ON ERROR, SET SHOWERROR

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")