Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IsNumeric - VFP analogue?
Message
 
 
À
23/12/1999 12:52:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00307922
Message ID:
00308071
Vues:
46
Hi Ed,

Ok, I've tried it. Very interesting results.

>>
>>Sorry for my prev. message, I haven't read yours carefully. '123 ' it's not the case, because I'm using alltrim, but -/+ does. But I can simply add
>>and !'-'$lcString or !'+'$lcString
>>
>>Right?
>
>No! If I have a memvar for example named MAGIC that hold a numeric value, try:
>
>MAGIC = 42
>MyNumber = "MAGIC"
>? TYPE(MyNumber)
>? LEN(MyNumber)
>
>Oops...
>
>or
>
>AB = 42
>CD = PI()
>MyNumber = "AB/CD"
>
>X = "4"
>MyNumber = "123&X"
>
>MyNumber = "12/99"
>MyNumber = "2^106"
>MyNumber = "123*4"
>>
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform