Funkce range v cyklu

Fragmenty kódu

Vstup
{while range(0,10)}
  {_}
  {if not(_last)}, {/if}
{/while}
{while range(0,10,2)}
  {_}
  {if not(_last)}, {/if}
{/while}
{while range(10,0,-1)}
  {_}
  {if not(_last)}, {/if}
{/while} 
Výstup
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
0, 2, 4, 6, 8, 10
10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0