Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When is .NULL.= .NULL.?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00398289
Message ID:
00398577
Vues:
15
>Frank,
>
>Here's how I use these two functions.
>
>VarType() is for checking the type of something that I know exists. It is faster than Type() in doing this, so if I know the item does exist I will use VarType() to check its data type.
>
>Type() is for checking things that I am not sure exist. It is slightly slower than VarType() but it never errors out for non-existant things.

Jim,

Wouldn't it be better to use VARTYPE() for variables, and to use PEMSTATUS() for objects? That way, you should never get an "error"?
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform