本帖最后由 tsys 于 2011-11-26 15:40 编辑
在翻阅udf中的IE.au3时候发现Global Enum _,不知道这个enum后面跟个下划线是什么意思,还有常量后面为什么也跟个下划线呢?,详细见下:Global _; Com Error Handler Status Strings
$IEComErrorNumber, _
$IEComErrorNumberHex, _
$IEComErrorDescription, _
$IEComErrorScriptline, _
$IEComErrorWinDescription, _
$IEComErrorSource, _
$IEComErrorHelpFile, _
$IEComErrorHelpContext, _
$IEComErrorLastDllError, _
$IEComErrorComObj, _
$IEComErrorOutput
;
; Enums
;
Global Enum _; Error Status Types
$_IEStatus_Success = 0, _
$_IEStatus_GeneralError, _
$_IEStatus_ComError, _
$_IEStatus_InvalidDataType, _
$_IEStatus_InvalidObjectType, _
$_IEStatus_InvalidValue, _
$_IEStatus_LoadWaitTimeout, _
$_IEStatus_NoMatch, _
$_IEStatus_AccessIsDenied, _
$_IEStatus_ClientDisconnected
Global Enum Step * 2 _; NotificationLevel
$_IENotifyLevel_None = 0, _
$_IENotifyNotifyLevel_Warning = 1, _
$_IENotifyNotifyLevel_Error, _
$_IENotifyNotifyLevel_ComError
Global Enum Step * 2 _; NotificationMethod
$_IENotifyMethod_Silent = 0, _
$_IENotifyMethod_Console = 1, _
$_IENotifyMethod_ToolTip, _
$_IENotifyMethod_MsgBox
|