xHarbour Reference Documentation > Command Reference |
Defines the maximum recursion depth for error handling.
SET ERRORLOOP TO <nRecursion>
The SET ERRORLOOP command restricts recursive calls within the xHarbour error handling routine to a number of <nRecursion> calls. This is required when a runtime error occurs in an error handling routine. In this case, an endless recursion is suppressed by terminating the application when the error handling routine has not resolved a runtime error after <nRecursion> invocations.
Note: xHarbour's default error handling routine is programmed in the file ERRORSYS.PRG.
See also: | Set() |
Category: | Environment commands , SET commands , xHarbour extensions |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com