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

Posted by Rob Segal on Stack Overflow See other posts from Stack Overflow or by Rob Segal
Published on 2010-05-17T16:36:24Z Indexed on 2010/05/17 16:40 UTC
Read the original article Hit count: 241

Filed under:
|

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 this would be trivial as...

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

© Stack Overflow or respective owner

Related posts about asp-classic

Related posts about vbscript