开发者

Is there a way to advance through a for loop by a value instead of one by one in VBScript?

I have a one dimensional array in VBScript that I would like to run through but have the ability to advance by 2,3,4 etc. on each iteration of the loop. In C thi开发者_开发问答s would be trivial as...

for (int i = 0; i < 10; i+= 2)


Like this:

For i = 0 To 9 Step 2
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜