For statement

Description :

With an for statement, you can easily make loops within your scripts templates.

Syntax :

A for statement starts with <% (or [%) and end with %> (or %]).
A for statement also requires opening and closing brackets {}
A for statement loops on every object given by the for declaration. You have direct access to these objects within a for statement.
You can access to a loop counter calling the service <%i()%>.

Example :