WHILE expression in document template
The WHILE expression can be used to create iterative output to the result string. A WHILE must be terminated by an END expression in any case. The text between the WHILE statement and the END statement is repeated as long as the condition (operand) is true .
Between the WHILE and the END statement other template expressions might be defined.
$while persons.Next()$\
Name: $persons.name$, first name: $persons.first_name$
$end$
Notes:
Note, the newlines must be escaped, when not being to be printed to the output,
Definition:
while_expr := _dollar _while operand _dollar