ÄúµÄλÖãºÑ°ÃÎÍøÊ×Ò³£¾±à³ÌÀÖÔ°£¾VBScript£¾VBScript


objects constants operators statements functions properties methods






CONSTANTS:  VarType

VarType Constants

You may use either the CONSTANT (left column) or the VALUE (center column) in your code and get the same results.

CONSTANTVALUEDESCRIPTION
VBEmpty0Uninitialized
VBNull1Contains no valid data
VBInteger2Integer subtype
VBLong3Long subtype
VBSingle4Single subtype
VBDouble5Double subtype
VBCurrency6Currency subtype
VBDate7Date subtype
VBString8String subtype
VBObject9Object
VBError10Error subtype
VBBoolean11Boolean subtype
VBVariant12Variant (only use for arrays of variants)
VBDataObject13Data access object
VBDecimal14Decimal subtype
VBByte17Byte subtype
VBArray8192Array