handleSysLibraryErrors
The vgVar.handleSysLibraryErrors system
variable
is one of the factors that determine the following:
- Whether the program continues in the event of an error in a system function.
- Whether the value of sysVar.errorCode system variable is affected by the invocation of a system function.
This variable is meaningful only in the following circumstances:
- You are in V6 exception mode (see Using V6 exception compatibility).
- An error occurs in a system function (such as those in mathLib or sysLib).
- The function is outside of a try block (see try).
In these circumstances,
the value of the variable has the following effects:
- 1
- The program continues to run and sysVar.errorCode is set.
- 0 (the default)
- The program terminates immediately.
vgVar.handleSysLibraryErrors has
the following
characteristics:
- Primitive type
- NUM
- Data length
- 1
- Value saved across segmented converse?
- No
Example
The following example shows the vgVar.handleSysLibraryErrors variable:
vgVar.handleSysLibraryErrors = 1;