Difference between revisions of "SET ONERROR"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 6: | Line 6: | ||
==See Also== | ==See Also== | ||
− | [[ON ERROR]] | + | [[ON ERROR]], [[SET SHOWERROR]] |
==Description== | ==Description== |
Latest revision as of 11:25, 23 October 2013
Contents
Purpose
Disable ON ERROR error handling
Syntax
SET ONERROR ON | OFF | (<expL>)
See Also
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")