• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is this a major bug or not?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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"
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.

 _______________________________________________
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

  • Follow-Ups:
    • Re: Is this a major bug or not?
      • From: Deivy Marck Petrescu <email@hidden>
References: 
 >Re: Is this a major bug or not? (From: "Nigel Garvey" <email@hidden>)
 >Re: Is this a major bug or not? (From: Deivy Petrescu <email@hidden>)
 >Re: Is this a major bug or not? (From: Yvan KOENIG <email@hidden>)
 >Re: Is this a major bug or not? (From: Deivy Marck Petrescu <email@hidden>)
 >Re: Is this a major bug or not? (From: Yvan KOENIG <email@hidden>)
 >Re: Is this a major bug or not? (From: Deivy Petrescu <email@hidden>)
 >Re: Is this a major bug or not? (From: Yvan KOENIG <email@hidden>)
 >Re: Is this a major bug or not? (From: Deivy Petrescu <email@hidden>)

  • Prev by Date: Re: Is this a major bug or not?
  • Next by Date: Re: Is this a major bug or not?
  • Previous by thread: Re: Is this a major bug or not?
  • Next by thread: Re: Is this a major bug or not?
  • Index(es):
    • Date
    • Thread