VBScript 是一种脚本语言

源代码在线查看: vbs396.htm

软件大小: 1163 K
上传用户: mislrb
关键词: VBScript 脚本 语言
下载地址: 免注册下载 普通下载 VIP

相关代码

				Err Object 
				
				
				
				
				
				
				
				
				
				
				
				
				Microsoft® Visual Basic® Scripting Edition
				Err Object
				
				
				
				 Language Reference 
				Version 1 
				
				
				
				
				See Also
				                  
				Properties
				                  
				Methods
				
				
				Description
				Contains information about run-time errors. Accepts the Raise and Clear methods for generating and clearing run-time errors.
				
				Syntax
				Err[.{property | method}]
				
				Remarks
				The properties of the Err object are set by the generator of an error — Visual Basic, an Automation object, or the VBScript programmer.
				The default property of the Err object is Number. Err.Number contains an integer and can be used by an Automation object to return an SCODE.
				When a run-time error occurs, the properties of the Err object are filled with information that uniquely identifies the error and information that can be used to handle it. To generate a run-time error in your code, use the Raise method.
				The Err object's properties are reset to zero or zero-length strings ("") after an On Error Resume Next statement and after an Exit Sub or Exit Function statement within an error-handling routine. The Clear method can be used to explicitly reset Err.The Err object is an intrinsic object with global scope  — there is no need to create an instance of it in your code.
				
				
				© 1997 by Microsoft Corporation. All rights reserved. 
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
							

相关资源