Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Testing a objects existence
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00366567
Message ID:
00366573
Vues:
18
>Hello All
>
>Does anyone know how to test for the existence of a object?
>
>Thanks for any help
>Stephen McLaughlin
>"Blastmaster"
>stephenmclaughlin@email.com

poSplash = NEWOBJECT('c40splash','c40baseforms.vcx', '', pcAppName)
IF VARTYPE(poSplash) = "O"
* OK as an object
ELSE
* not an object
ENDIF
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform