[ 
https://issues.apache.org/jira/browse/VELOCITY-672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12665810#action_12665810
 ] 

Jarkko Viinamäki commented on VELOCITY-672:
-------------------------------------------

In addition, almost in all programming languages the syntax of "for" is:

for (expr1; expr2; expr3)
    statement

and if that would not work, it would surprise the user. 

-1 for this. Sorry.

> add '#for' as a synonym for '#foreach'
> --------------------------------------
>
>                 Key: VELOCITY-672
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-672
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Engine
>            Reporter: Byron Foster
>            Priority: Minor
>             Fix For: 1.7
>
>
> Add 'for' as a synonym for 'foreach'  such as:
> #for ($order in $orders)
>   $order.price
> #end

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to