Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I know if an object exist?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00404777
Message ID:
00404780
Vues:
11
>How do I determine whether a specified object exists?

If the object exists, VarType(oMyObject) will return 'O', if you don't have VFP6, you can do type('oMyObject') = 'O' and not isnull(oMyObject), or, if you know the object has a Name property, you can do type('oMyObject.Name') = 'C'
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform