Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining whether an object exists.
Message
De
06/09/1998 11:19:28
 
 
À
06/09/1998 07:33:32
David Turnedge
Turnedge Associates
Sydney, Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00133547
Message ID:
00133665
Vues:
14
David...

No. TYPE("oMyObject") = "U" if the object is undefined. Glad the problem is resolved.

>>>
>TYPE("oMyObject") = "O" <------ IS this an object?
><<
>
>Won't this throw an error in my code during runtime if "oMyObject" doesn't exist at all?
>
>I think AINSTANCE will do it for me... Thanks!
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform