Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IsNumeric - VFP analogue?
Message
De
23/12/1999 11:13:43
Paul Frost
Instem Computer Systems Ltd
Stone, Royaume Uni
 
 
À
23/12/1999 11:08:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00307922
Message ID:
00307952
Vues:
25
>>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"

I agree with Ricardo & Nadya

mynumber = "123"
type( "mynumber" ) = "C"
type( mynumber ) = "N"
type( "123" ) = "N"

though I am using Vfp 5

I'm interested in any differences, as I may be required to upgrade to VfP6, so if you could let me know, if this has changed I would be grateful

Paul
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform