Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What's quicker???
Message
 
 
À
09/10/2002 09:53:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00709237
Message ID:
00709282
Vues:
28
Inlist() is slower but more readable IMO. As George says, it would have to be in a loop which is executed a lot of times before you noticed any difference.

Mike


>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform