Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Who'd have thought....
Message
From
01/11/1999 17:44:14
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00285125
Message ID:
00285138
Views:
19
Hi Wayne,

>This FOR loop would fire???
>FOR i = 0 TO 0
> WAIT WIND ALLT(STR(i))
>ENDFOR

Well think of it like this, how many times does "for x = 1 to 2" fire? Twice, right? Well, if you subtract the second term by one, you still be firing it one less. Don't let the Zeros confuse you, its simply a value of the counter.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform