[Templates] reiteration question, by increments of something other than 1
Me
justsomename2002@yahoo.com
Wed, 26 Jul 2006 15:44:20 -0700 (PDT)
I need to do a FOREACH and increment by a number
other than one.
for example. I might have this..
FOREACH y = [0..40]
--> but I want to increment by 3
so, it would print..
1, 3, 6, 9 etc.. up to 40 (of course, 3 doesn't go
into 40 evently, so that last number to effectively
take a 3).
I don't want to do MOD. I want a more elequent
solution if there is one.
is there
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com