On Tue, 25 May 2010, Henrique Andrade wrote:
I was looking for something simple. The option "loop for (n=6;
n<=24; n*=2)" worked just fine. But in my humble opinion the
option "loop for (n=6; n=12; n=24)" should work too, but this is
not a big deal ;-)
The three fields in the "classic" for-loop construction are (1)
initial condition, (2) condition for continuing, and (3)
instruction to be executed each time around (after the first).
So your "n=6; n=12; n=24" cannot do what you want.