8.8.1 Clear Method

Clears all property settings of the Err object.
Syntax
Err.Clear
Remarks
Use Clear to explicitly clear the Err object after an error has been handled. This is necessary, for example, when you use deferred error handling with On Error Resume Next. VBScript calls the Clear method automatically whenever any of the following statements is executed:
- On Error Resume Next
- Exit Sub
- Exit Function
Copyright © 2000 Chili!Soft
|