开发者

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

开发者 https://www.devze.com 2022-12-30 08:30 出处:网络
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...

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

精彩评论

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