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: Deivy Marck Petrescu <email@hidden>
- Date: Sun, 31 May 2009 14:12:48 -0400
On May 31, 2009, at 13:32, Michelle Steiner wrote:
On May 31, 2009, at 10:15 AM, Deivy Petrescu wrote:
The way the records are being returned by Apple apps, "prop" has
two classes, text and record.
No. If the record has an item whose label is "class", it returns
the value of that item. If the record does not have an item whose
label is "class", it returns the class of the record, which is
"record".
Consider these two examples:
set foo to {x:"text", y:5, class:"temp", z:pi}
class of foo
--> ""temp"
x of foo
-->"text"
set foo to {x:"text", y:5, q:"temp", z:pi}
class of foo
--> record
-- Michelle
--
If you're not going somewhere, you're not getting anywhere.
I understand Michelle,
However,
set foo to {x:"text", y:5, class:"temp", z:pi}
Now I ask you; what is the class of "foo"?
Deivy Petrescu
email@hidden
_______________________________________________
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