Loops

 

Syntax:

 

<#repeat name="loop name"><#/repeat name="loop name">

 

Loops represent Pascal/C while loop and  let the application process the block zero or more times depending on application-defined condition.

 

Loops are executed once if no event handler is defined for OnLoopIteration event or until OnLoopIteration event handler stops the loop.

 

Available names of loops:

Loop on all projects: name="Projects"
Loop on all tasks: name="Tasks"
Loop on all periods: name="Periods"

 

 

For example:

 

<#repeat name="Projects">

       ...

<#/repeat name="Projects">

 

 

See also:

       Template language overview

       Translation tables

       Conditions

       Macros

       Comments

       Parameters