【发布时间】:2016-08-21 02:02:55
【问题描述】:
我尝试使用 if 语句,但出现错误,Subscript out of range,我知道为什么会出现错误。如何检查参数是否被调用到 vbscript 脚本。
if args.count > -1 then
exec(args(0)) 'exec is a function that I defined. I know this is working.
wscript.quit
end if
【问题讨论】:
标签: arrays if-statement vbscript arguments