Page 1 of 1

For : Next : Step with decimals

Posted: Sun Oct 12, 2008 11:25 pm
by charvista
a Wish :
For : Next : Step working with decimals.

For example:

Code: Select all

For i.d = 4.5 to 10.5 step 0.5
...
Next
I know there is While : Wend as replacement, but not always better.
Thanks

Re: For : Next : Step with decimals

Posted: Mon Oct 13, 2008 12:01 am
by PB
Search the forums before posting. This has been requested a million times.

Posted: Mon Oct 13, 2008 12:05 am
by charvista
Then it is obvious that a million of programmers would like it. :)

Posted: Mon Oct 13, 2008 9:00 am
by Kaeru Gaman
it had also been ANSWERED a million times.
short: use another looptype.
if you want to know why, search for the other topics.

Posted: Mon Oct 13, 2008 9:15 pm
by blueznl