for()

The for() function creates a numeric sequence.

Syntax

for(expr1, expr2, [expr3])
Note:
  1. Return a numeric sequence from number(expr1) to number(expr2) with a step of number(expr3) [1by default].

Example

<div gwc:repeat="i for(0, 20, 2)" gwc:content="i"/>