The system variable VGVar.handleOverflow controls error processing after an arithmetic overflow. Two types of overflow conditions are detected:
You can set VGVar.handleOverflow to one of the following values. (The default setting is 0.)
Value | Effect on user overflow | Effect on maximum value overflow |
---|---|---|
0 | The program sets the system variable SysVar.overflowIndicator to 1 and continues | The program ends with an error message |
1 | The program ends with an error message | The program ends with an error message |
2 | The program sets the system variable SysVar.overflowIndicator to 1 and continues | The program sets the system variable SysVar.overflowIndicator to 1 and continues |
You can use VGVar.handleOverflow in these ways:
VGVar.handleOverflow = 2;
Related reference
Assignments
System variables outside of EGL libraries
overflowIndicator