Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DO CASE vs IF
Message
De
28/12/2000 01:00:11
Kam Lee
SUNY-Health Science Center
Brooklyn, New York, États-Unis
 
 
À
27/12/2000 20:38:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00457199
Message ID:
00457246
Vues:
28
My opinion is which ever one you use i.e. either CASE Statement or IF statement, you should put the option which has the highest chance to happen in the top and then the second highest chance option next and so on ... and the least in the last.
This way you could achieve the best efficiency in your code in the long run.


Kam.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform