loop
1st form:
for(initialisation;condition;incrément) { BLOC }
example:
for(i=1; i < 5; i++)
{
"i=";$i;"\n"
}
prints:
i=1
i=2
i=3
i=4
2nd form:
for(i=depart,arrivee,pas) { BLOC }
Notes:
1) Faster, but the boundaries are fixed.
2) Should not be used in a recursive function.
examples:
for(i=1,7,2)
{
"i=";$i;"\n"
}
prints:
i=1
i=3
i=5
i=7
for(i=1,3) $i;
prints: 1 2 3