Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem text
Message
 
 
To
23/05/2006 16:37:20
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01124269
Message ID:
01124389
Views:
14
>It wasn't so much a lecture and a query on my part as I am in no way a super coder <g>. Indeed, I have never used LOOP in my code. I'll be having fun with it now, though.
>
>Keep having fun.
>

To be strict, you should not use LOOP or EXIT in your code. And not multiple RETURNs. And declare local vars right before you need them, not in the beginning of the code.

But that's for the ideal world and for the purists. VFP and VB offer ability to break the loops, so we may use these commands even if they contradict to the programming principles.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform