Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Uppercase / lowercase style
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00138827
Message ID:
00140512
Views:
38
Bruce,

I really think the design criteria for not using constructs like EXIT and LOOP are "behind the times" at this point. How many loops have you written lately that are more that a dozen lines of code recently? I'll bet in general your loops are a lot shorter in lines of code than they used to be. I know mine are.

I've worked on systems before where a loop spanned several pages of code, and there yes exits from inside were a big annoyance. Heck let's start a campaign to add a computed GOTO to FoxPro then we can really start reeking some havoc. *s*

With a loop that is 15-20 lines of code, fits within your code edit window, I don't have any problem putting an early exit condition to save a more complex code structure just to avoid using LOOP/EXIT because they are considered bad programming style.

>I guess you *could* do something similar in vfp using the LOOP/EXIT commands, but that'd be a little on the tacky side...
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform