Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining existence of an object
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00251780
Message ID:
00251911
Vues:
12
>It was my understanding that VARTYPE would only pass an 'O' if the variable was a living object. If VARTYPE were to classify a dead object it would return an 'X' because the variable was NULL.
>
>Glenn
Glenn,

I stnad corrected. If you omit the second argument for VarType() then it will return X for a value of NULL. Although I cuation about using VarType() as it is desinged to be faster and will fail with an error on certain conditions, like checking the type of a property of a non-existant object.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform