Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EVALUATE not support null parameter
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00841002
Message ID:
00841043
Vues:
32
>>
>>Nope. If you do "x=null", x is not a string, is null (no datatype).
>
>Are you sure? Try
x = ""
>? TYPE("x")  && "C"
>x = Null
>? TYPE("x")  && "C"
>
Touché. 8-)

VFP keeps track of the original datatype. This is confusing, but I think they used the same approach as when checking for a field datatype, which of course still has a type when is null.

Thanks for pointing that, Sergey.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform