Number or not?

David Vaughan drvaughan55 at mac.com
Wed Feb 6 05:49:00 EST 2002


Terry

Have you tried the function "isnumber()" in Transcript?

cheers
David

On Wednesday, February 6, 2002, at 09:31 , Terry Vogelaar wrote:

> Hello all,
>
> Simple question: is there a way to verify if a variable is a number?
> AppleScript makes a difference between 2 and "2", but it also does not
> accept string-parameters without quotes. So I want to put quotes 
> around a
> parameter only when it is not a number. Any suggestions?
>
> Terry
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list