Testing for numerics

Dom mcdomi at free.fr
Mon Oct 2 15:29:15 EDT 2006


Rob Cozens <rcozens at pon.net> wrote:

> >if field "MyTextField" is a number
> 
> 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

;-)



More information about the Use-livecode mailing list