denam
asked on
counting backwards in a vbscript "for next" loop (urgent)
How do you loop backwards in a vbscript for next loop?
This doesn't work when you start with the larger number as
i do here:
for iYear = 1999 to 1995
Response.Write ( iYear & "<br>")
next
Thanks,
Dena
This doesn't work when you start with the larger number as
i do here:
for iYear = 1999 to 1995
Response.Write ( iYear & "<br>")
next
Thanks,
Dena
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I misread the doc on it.
didn't realize you needed "step" as well as the "-1"