Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What's quicker???
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00709237
Message ID:
00709242
Vues:
20
>if a = 'a' or a = 'b' or a = 'c'
>
>- OR -
>
>if inlist(a,'a','b','c')
>
>Which is quicker and/or better programming? Just in case, I'm maintaining in 2.6.
>
>Sunshine

I don't know which is quicker, but the INLIST is easier to understand and/or modify to add new options. I'd much prefer to see it in code than the first one.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform