ClearAll Method (ERROR)


10.1, PLBCMP GUI Only

 

The ClearAll method removes all of the errors entries on the current error stack. The method uses the following format:

 

 

[label]

{object}.ClearAll

[GIVING {return}]

 

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.

Flags Affected: EOS, OVER, ZERO

Note the following:

  1. The ZERO flag is set if the {return} value is zero.

  2. The OVER flag is set if the returned value overflows the {return} Numeric Variable.

  3. The EOS flag is always set to FALSE.

 

 

See Also: Method Syntax, ERROR Methods



PL/B Language Reference AddError Method (ERROR) ClearError Method (ERROR)