VBScript脚本语言讲义(刘小林)
先感谢本文的原作者 刘小林老师
TypeName及VarType函数介绍,示例程序如下:
可用 VarType 函数来返回某个数据的 Variant 子类型,如下面的代码:
DimstrInput,strVarType,strTypeName
strInput="helloworld"
MsgBoxstrInput
strVarType=VarType(strInput)
MsgB
转载
2012-02-04 22:09:28 ·
3933 阅读 ·
0 评论