ClearError Method (ERROR)
10.1, PLBCMP GUI Only
The ClearError method removes one error from the error stack. This method uses the following format:
|
|
|
|
|
Where:
label
Optional. A Program Execution Label.
object
Required. An ERROR object that has been previously declared.
return
Optional. A Numeric Variable that always returns zero.
position
Optional. A Numeric variable or decimal number whose value is a one relative position in the current error stack.
Flags Affected: EOS, OVER, ZERO
Note the following:
The ZERO and OVER flags are set to TRUE.
The EOS flag is always set to FALSE.
If the {position} parameter is not specified, this method default is to clear the most current error.
See Also: Method Syntax, ERROR Methods
![]() |