Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Screens/Forms Layouts
Message
From
07/02/2000 21:54:24
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00328406
Message ID:
00328621
Views:
23
>This will fail in several different ways - some forms will get skipped over, and you'll iterate beyond the end of the list. If you use this logic, iterate downwards from _SCREEN.FORMCOUNT rather than up.

On top of that, is

FOR i = _SCREEN.FORMCOUNT

even valid? I usually have a TO clause in there, but this may be one of those funky shortcuts. Maybe, he meant to say

FOR i = _SCREEN.FORMCOUNT TO 1 STEP -1

And was right, but still wrong (just forgot the rest?).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform