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: Michelle Steiner <email@hidden>
- Date: Sun, 31 May 2009 10:32:02 -0700
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" 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.
|
_______________________________________________
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