vbs中set的用法

set 是指给对象赋值,给一般的变量赋值就不用,
比如,
wshshell,fso,word程序就要用set
set fso=createobject("scripting.filesystemobject")
set ws=createobejct("wscript.shell")
set word=createobject("word.application")

一般的变量就不用set了,
a=3
b="dskjf"
c(3)=null

你可能感兴趣的:(vbs中set的用法)