Re: Check if it is a number
Re: Check if it is a number
- Subject: Re: Check if it is a number
- From: Kai Edwards <email@hidden>
- Date: Sun, 01 Dec 2002 23:39:38 +0000
on Sat, 30 Nov 2002 20:30:25 +0100, Thomas <email@hidden> wrote:
>
- "AB45DJI" is a number --> false; would be cool but that doesn't work
Try this, Thomas:
================
isNum("AB45DJI")
on isNum(v)
try
v as number
true
on error
false
end try
end isNum
================
Kai
--
email@hidden
email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.