Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Argument starter - The roots of all evil
Message
From
02/09/2004 05:55:52
Walter Meester
HoogkarspelNetherlands
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00938079
Message ID:
00938674
Views:
13
Hi sergey,

>I've seen code with seven levels of imbeded IF's just to avoid using LOOP or EXIT. I would tale LOOP/EXIT any day over such code.

I cannot imagine any case where you need such amount of indents to avoid LOOP or EXIT. In many cases a simple DO CASE could reduce the number of nested IFs to something more readable. It often has to do with the coders style than it has to do with the ability to avoid EXIT and/or LOOP.

Walter,
Previous
Reply
Map
View

Click here to load this message in the networking platform