Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
To iif or not to iif = .t.
Message
De
31/05/2001 16:57:05
 
 
À
31/05/2001 16:15:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00513276
Message ID:
00513438
Vues:
17
>>I agree entirely. I consider EXIT and LOOP to be bugs until proven otherwise :-) Almost without exception, it's an indication that the coder hasn't thought the logic through clearly, making the entire structure suspect.
>
>I think this statement would be better qualified. For DO WHILE loops, I _ususally_ agree. But IMO, EXIT and LOOP have valid uses in FOR EACH and SCAN loops.

Hmmm... I've *never* had to use them in those constructs (or at all, for that matter). Are you saying there are times you *must* use them to implement logic, or that they might be simpler to use in some circumstances?
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform