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 

_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to