Testing for numerics
Francis Nugent Dixon
effendi at wanadoo.fr
Sun Oct 1 14:47:16 EDT 2006
Hi from Paris,
Thanks to Mark and Dar for their replies.
I think you have covered all the bases.
> On Sep 30, 2006, at 12:56 PM, Francis Nugent Dixon wrote:
>> I want to check the contents of a field for numeric,
>> so, for a field of four characters, I coded :
>> matchText(field MyTextField,"[0-9][0-9][0-9][0-9]")
>> if it is true then ......
>> Is this the right way to check for numerics, and if
>> so, what have I done wrong ?
"Nothing should ever be done for the first time !"
More information about the Use-livecode