Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable numeric or character
Message
De
10/01/2014 09:17:07
 
 
À
10/01/2014 09:13:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01591614
Message ID:
01591627
Vues:
40
>>Beware, do not use TYPE(). It was added for speed but makes little difference and is known for returning the wrong result at times. I have seen this myself.
>
>
>I know, it may return C or something else when the value is null
>
>As in
>

>x='qq'
>x=null
>?type('x') && C
>


which is a-ok, as only vartype() is documented to return X for .null.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform