Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Who'd have thought....
Message
From
02/11/1999 10:43:28
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00285125
Message ID:
00285473
Views:
18
It would fire no times. -1 - 0 + 1 = 0. But I did leave off the ABS()

0, or ABS(y) - ABS(x) + 1 times (whichever is greater)."

Also, I left off a qualifier for what the step is set to.

If the step is abs(value) > 1, then I believe it is like so:

FOR i = x TO y STEP z
The number of loops will be: ABS(Y) MOD ABS(Z) - ABS(X) + 1 or 0, whichever is greater.
Previous
Reply
Map
View

Click here to load this message in the networking platform