velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean Francois Chamard <>
Subject for loops break?
Date Fri, 08 Jul 2005 15:53:54 GMT
Hi there,
    been using velocity for a while now. Is there a way to get out of a 
Perhaps it has been asked but I found nothing on the subject (guide, 
wiki, ...).
If there is, sorry about it.

Is there a way to do something like that?
#foreach( $mycounter in [10..1] )
    #if ($mycounter == 5)
       break; ?

I've used velocity 1.4 but i'm now with 1.5 dev.
Thanks for your answer

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message