Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IsNumeric - VFP analogue?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00307922
Message ID:
00308142
Vues:
54
>>Personally, I think that this should be passed on to the documentation team. I would hope that you'd be in agreement.
>
>I hate to do this, but I agree. TYPE() accepts a character string as input, EVAL()s the string, and returns the type of the EVAL(). The behavior you're talking about is the behavior of VARTYPE()
>
>MAGIC = 42
>A = "MAGIC"
>? TYPE("A") && C
>? TYPE(A) && N - the type of its expansion/evaluation
>? VARTYPE(A) && C
>? VARTYPE(&A) && N
>
>This is exactly as the documentation states.

Hate to agree?:-)
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform