>>>>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...