Re: Dates gone wild
Re: Dates gone wild
- Subject: Re: Dates gone wild
- From: Nigel Garvey <email@hidden>
- Date: Thu, 11 Sep 2003 16:27:42 +0100
Emmanuel wrote on Wed, 10 Sep 2003 16:07:29 +0200:
>
At 12:18 PM +0100 10/09/03, Nigel Garvey wrote:
>
>A "reference" *is* an entity in the AppleScript language and in
>
>application scripting. It's not a memory pointer, but a description in
>
>the language itself. This description invariably involves more than one
>
>word and includes a possessive element - eg. 'item 2 of theList',
>
>
Of course that's the case most often but "a reference to me" is one word
>
and does not have a possessive element.
Well, 'me' is a language variable, not a descriptive phrase or a script
variable. Both 'me' and 'a reference to me' have the same value, which is
<<script>> - which I'd hesitate to call an AppleScript reference. The
discussion of references in ASLG specifically mentions objects and
containers:
"A reference describes what type of object you're looking for, where to
look for the object, and how to distinguish the object from other objects
of the same type. These three types of information the class, or type;
the container, or location; and the reference form, or distinguishing
information allow you to specify any object of an application."
... or any element of any object of an application or script. The syntax
can in fact be either possessive or inclusive - 'of' or 'in'. eg:
item 2 of theList
theList's item 2
theList's second item
second item in theList
'item' = class of object
'item 2' = reference form (here it's an "index reference form")
'theList' = container
'item 2 of theList' = reference
NG
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.