Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine if char field in a table is a number
Message
De
29/06/2009 01:03:11
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01408688
Message ID:
01409000
Vues:
55
Thanks for the clarification.

Jim

>Hi James,
>
>it would fail if using SET("POINT") as the decimal point constitutes a valid number, because TYPE() only works with ".". TYPE() would also include the exponential syntax making "1.2e345" a valid number. Finally, the function would return number for many expressions such as "1+1", "_Screen.Height", "LEN(goApp.Login.Password)", and so forth.
>
>It's not really an issue with TYPE(), rather with the definition of number in the application context. If TYPE() returns "N", EVALUTE() would return a number. It doesn't mean, though, that the parameter contains a number literal.
Jim Nelson
Newbury Park, CA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform