Re: Is this a major bug or not?
Re: Is this a major bug or not?
- Subject: Re: Is this a major bug or not?
- From: "Nigel Garvey" <email@hidden>
- Date: Sun, 31 May 2009 22:43:58 +0100
Philip Aker wrote on Sun, 31 May 2009 11:59:09 -0700:
>set foo to {x:"text", y:5, class:"temp", z:pi}
>class of contents of foo
>
>It's a bug if there is no way to get the class of the foo object itself.
on classOf(foo)
if ((count {foo}'s records) > (count {foo}'s lists)) then
record
else
class of foo
end if
end classOf
set foo to {x:"text", y:5, class:"temp", z:pi}
classOf(foo)
NG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden