You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Peter Romianowski <an...@gmx.de> on 2005/01/14 16:56:21 UTC

Re[2]: Just a thought...foreach else ?

> I kind of like this.  Seems the clearest syntax of any proposed.

It confuses because in longer #foreach-loops you may not see the
structure and therefor #fornone looks a bit irritating. I like
the #onempty or #ifempty most. Perhaps a poll as someone already
suggested may help here.

Peter

..: It's good to see you around here, Will. Keep up the good work!

> ----- Original Message ----- 
> From: "Chris Rousseau" <ch...@jda.com>
> To: "Velocity Developers List" <ve...@jakarta.apache.org>
> Sent: Monday, January 10, 2005 8:18 AM
> Subject: RE: Just a thought...foreach else ?


> What about:

> #foreach()
>   ...
> #fornone
>   ...
> [#forone]
>   ...
> #end


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> velocity-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org