• 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: Month as Integer (or he's ranting again)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Month as Integer (or he's ranting again)


  • Subject: Re: Month as Integer (or he's ranting again)
  • From: Emmanuel <email@hidden>
  • Date: Sat, 2 Dec 2000 23:50:43 +0100

At 19:15 +0100 2/12/00, Bill Briggs wrote:
>It's an umbrella that includes objects or values of different
>classes. In the Finder you can easily see how "item" is a catch-all.
>Assuming you have 10 items on your desktop, just run this in Script
>Editor with the event log open and observe what is returned.
>
> [snip]
>
>In other contexts "item" includes other things. In a list, the
>particular "item" has a class of whatever it happens to be; string,
>integer, real, alias, etc.
>
> [snip]

Maybe we could be a bit more specific here.

"item" is declared as a class, both in Finder's dictionary and in
AppleScript's dictionary.

As for Finder, 'item' is the common parent class of three classes: 'file',
'package' and 'container' (classes which in turn are parents of more
specific classes such as 'alias file' etc.).

As for AppleScript, item is just anything:

-------------------
Class item : An item of any type
Plural form:
items
Properties:
id integer -- the unique ID number of this object
-------------------

and is mainly used as the reserved term for the elements of a list.

Emmanuel


References: 
 >Re: Month as Integer (or he's ranting again) (From: "Marc K. Myers" <email@hidden>)
 >Re: Month as Integer (or he's ranting again) (From: Bill Briggs <email@hidden>)

  • Prev by Date: Re: Month as Integer (or he's ranting again)
  • Next by Date: Re: Parent path. Senility?
  • Previous by thread: Re: Month as Integer (or he's ranting again)
  • Next by thread: Re: Month as Integer (or he's ranting again)
  • Index(es):
    • Date
    • Thread