Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem text
Message
 
 
À
23/05/2006 16:37:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01124269
Message ID:
01124389
Vues:
10
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform