Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IsNumeric - VFP analogue?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00307922
Message ID:
00308636
Views:
27
>>>>Or, better, you can use StrFilter() from, ahem, Foxtools :)
>>>>
>>>>lcJustDigits=strfilter(myNumber, '0123456789.+-')
>>>>if lcJustDigits=myNumber
>>>> * it's really a number
>>>>else ... well, maybe not.
>>>
>>> I haven't seen your post, because you didn't put it in my folder :). Anyway, if it requires to set library to foxtools, I would better use George's function (my idea was similar, but since George developed it, I called it George's).
>>
>>In this message you have already written "set library to foxtools", so, you see, it's not hard to do :). You can do it in your main.prg as well, and live happily ever after...
>
>You mean that there are actually people who don't have SET LIBRARY TO FOXTOOLS in their main program. I'm shocked! What's this world coming to?< bg >

Yes, there are a number of us. OTOH, I've got WSH on everything, so I know how to get support for regular expressions...
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
Previous
Reply
Map
View

Click here to load this message in the networking platform