Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IsNumeric - VFP analogue?
Message
De
23/12/1999 11:16:00
 
 
À
23/12/1999 11:12:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00307922
Message ID:
00307953
Vues:
34
>>>Hi Nadya,
>>>
>>>You can use the funcion TYPE.
>>>Example:
>>>
>>>IF TYPE(mynumber) = "N"
>>> WAIT WINDOW "IT'S A NUMBER!!!"
>>>ELSE
>>> WAIT WINDOW "IT'S SOMETHING ELSE!"
>>>ENDIF
>>>
>
>>Not really - TYPE("123") = "C"
>
>TYPE("123") is actually numeric
>

I clicked before editing - if you look, I immediately posted what I meant, but thanks, that is correct, TYPE("123")="N".
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform