[Seed7-users] for
Interpreter and compiler for the Seed7 programming language.
Brought to you by:
thomas_mertes
From: Renato L. <re...@gm...> - 2012-09-30 22:37:54
|
I don't fully understand the for sintax, that is i don't understand how i can change the increment of the parameter. For example in C# i can write: for (int x = 0; int < 10; x++) { ...... } but also: for (int x = 0; x < 10; x+=2) or for (int x = 0; x < 10; x+=3) etc.... this way i can modifying the amplitude of iterations. Looking at the for declarations in Seed7 manual i guess i have to change the amplitude inside the body of the loop. Is there another way? thx, regards. |