Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When is .NULL.= .NULL.?
Message
 
 
À
28/07/2000 18:10:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00398289
Message ID:
00398385
Vues:
19
Yes. The only time I use type() anymore is to check if a variable is an array.

>That's why I like the new VARTYPE() command
>
lnValue = 10
>lnValue = .NULL.
>?VARTYPE(lnValue)
>** X
>It also makes for less coding when checking object existence.
>
* instead of
>IF TYPE("loObj")="O" AND !ISNULL(loObj)
>* use
>IF VARTYPE(loObj)="O"
>
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform