Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exit nested FOR loops
Message
From
27/07/2007 14:27:34
Al Doman (Online)
M3 Enterprises Inc.
North Vancouver, British Columbia, Canada
 
 
To
27/07/2007 10:36:49
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01244106
Message ID:
01244215
Views:
16
If you need to exit a loop before a fixed number of iterations, using DO WHILE can be easier to understand and more maintainable.

I consider EXIT similar to a GOTO (the BASIC linenumber kind, not the xBASE command) and I never, ever use it. The same goes for LOOP.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform