Executes loop: variable is set to start and is increased by step each time loop is executed. Execution stops when variable becomes larger than end. Old @for(i,1,10,1) @# @i=1 @endif New for i=0 to 20 step 5 do debug(i) end.
Executa bucle: la variable s' estableix a start (començament) i s' incrementa una step (passa) cada vegada que s' executa el bucle. L' execució s' atura quan la variable és més gran que end (final). Old @ for( i, 1, 10, 1) @ # @ i=1 @ endif New for i=0 to 20 step 5 do debug( i) end.