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:
00841523
Vues:
28
Hi George,

------
By defintion a null string has a data type, a null does not.
------

This is correct.

But VFP is not a good reference for explain this.
=NULL  && this is a null, without data type
release x
x=NULL && this is a Logical NULL
x=''   && this is a empty string
x=NULL && now x is a null string
? VARTYPE(m.x,.T.),TYPE('m.x')
? VARTYPE(m.x) && return 'X', but it is a trick
* in fact
? NULL+1 && return a null value
? m.x+1  && fire a error because you cannot concat a null string with a number
Fabio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform