[thelist] ASP - if x = every nth?
Jon Hughes
hughesj at firemtn.com
Wed Jun 6 10:14:33 CDT 2007
I have the following opening if statement:
if i = 5 or i = 10 or i = 15 or i = 20 or i = 25 or i = 30 or i = 35 or
i = 40 or i = 45 or i = 50 then
It works, but it's not pretty, and not very versatile, if I have more
than 54 items.
Essentially, this performs and action on every 5th item (causes it to
move to the next line down) - Is there any way to just say:
If I = a product of 5
?
Thanks,
- Jon
More information about the thelist
mailing list