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:
00251910
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,

That is incorrect as NULL always has a data type and that type will be O if the variable was previously and object. Assigning NULL to a variable does not render the variable released, the variable still exists and has a value of NULL with a data type of what it was before NULL was assigned. See my other post on this thread for an example.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform