See Also
Applies to
Description
Clears all property settings of the Err object.
Syntax
object.Clear
The object is always the Err object.
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
© 1996 by Microsoft Corporation.
file: /Techref/language/asp/vbs/vbscript/223.htm,
1KB, , updated: 1996年11月22日 11:12, local time: 2025年9月17日 05:27,
©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Questions?<A HREF="http://massmind.org/Techref/language/asp/vbs/vbscript/223.htm"> Microsoft® Visual Basic® Scripting Edition </A>
Did you find what you needed?
Welcome to massmind.org!
Welcome to massmind.org!
.