Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking Object existence
Message
De
12/06/2003 03:37:03
 
 
À
10/06/2003 19:55:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00798697
Message ID:
00799255
Vues:
36
Hi there,

you could try one of the following to check for an object.

(1)
IF !ISNULL(Variable)

ELSE

ENDIF

(2)
IF VARTYPE(Variable) = "O"

ELSE

ENDIF

(3)
IF TYPE("Variable") = "O"

ELSE

ENDIF

Hope this helps,

Cheers Erwin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform