Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
how to determine if a var is = nothing
Message
 
À
07/09/2000 09:47:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00413285
Message ID:
00413476
Vues:
27
>>
If Not oTest Is Nothing Then
>
>Just curious, are either of IsEmpty() or IsNull() the same as the above?

Hi Mike,

Nope. I'm still trying to get a good handle on this works.

IsEmpty() - True if, it exists but has no type.
IsNull() - True if, the value of the var is NULL
IsObject() - True if, type of var is OBJECT
MyVar is Nothing - True if, MyVar exists, has a type, and the value is Nothing.

At least I think that's how it works. ;)
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform