Page 1 of 1

Variable as step value.

Posted: Thu Feb 28, 2013 1:40 pm
by Joris
Hi,

An example makes all easily clear (I hope).

Code: Select all

id=10

For a=0 to 100 step id 
or 
For a=alpha to omega step id
Now it can only be like this :

Code: Select all

For a=0 to 100 step 10 
or
For a=alpha to omega step 10
No variable value for the step-size.

Thanks

Re: Variable as step value.

Posted: Thu Feb 28, 2013 1:47 pm
by ts-soft
http://www.purebasic.fr/english/viewtop ... 48#p139848
This wish is already sometimes here

Use While Wend