Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Which is better IF (!SEEK(UPPER(expr))
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00530269
Message ID:
00530287
Vues:
14
>Which these two are better,faster,etc.
>
>IF (NOT SEEK(UPPER(expr)))
>...
>ENDIF
> or
>m.var = UPPER(expr)
>IF (NOT SEEK(m.var))
>...
>ENDIF
>
>
>Regards
>Bhavbhuti

I agree with Larry. BTW, if you check for existance in a table (don't need to move pointer), you can use IndexSeek, which should be faster. Check Help on IndexSeek. Finally, you can also check Help for KeyMatch, which is the fastest.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform