image\cslogo3d1.gif

VBScript Err Object Clear Method

Clears all property settings of the Err object.

Syntax: VBScript Err Object Clear Method

Err.Clear

Remarks: VBScript Err Object Clear Method

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 2001 Sun Microsystems, Inc. All rights reserved. Legal Notice.