Testing for numerics

Rob Cozens rcozens at pon.net
Tue Oct 3 10:55:20 EDT 2006


Hi Dom,

>  > This is fine if signed and decimal input is allowed; but isn't an
>>  adequate check for numerics that must be positive or integers only.
>
>if field "MyTextField" is an integer

Still doesn't cut it if the input must be positive.     :{`)
-- 

Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)



More information about the Use-livecode mailing list