Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How Do I
Message
 
À
26/01/1999 10:26:35
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00180248
Message ID:
00180256
Vues:
24
>How do I check for the existence of an object?
>
>Please help
>
Hi Jim,

Both John and BOb are right, but I'd add:
llisobject = (TYPE("objvariable") = "O" AND NOT ISNULL(objvariable))
The TYPE() function will still return "O" for an object that's been set to .NULL.. Therefore, it's a good idea to check this as well.

hth,
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform