Re: Filters with "entire contents of"
Re: Filters with "entire contents of"
- Subject: Re: Filters with "entire contents of"
- From: Michael Terry <email@hidden>
- Date: Sun, 17 Oct 2004 11:19:24 -0700
On Oct 17, 2004, at 9:29 AM, Michelle Steiner wrote:
If "entire contents of" returns a property, that's true.
Actually, maybe it would clarify things to respond specifically to this
comment.
'entire contents of' doesn't return a property. It *is* a property.
What it returns doesn't matter at all.
The fact that 'entire contents' is a property restricts in what
locations it can be used in statements. A property can't be used as the
object specifier with a filter clause.
Look at TN2106's synopsis of valid reference forms:
<http://developer.apple.com/technotes/tn2002/tn2106.html#building-
ospecs>
Note that the syntax for the filter form is very specific, and one
can't use a property with it.
It happens to be true that the result of 'every item of' and the
'entire contents' property looks the same, but that doesn't change the
fact that 'every item' is object specifier syntax and 'entire contents'
is a property and you can't substitute them at will.
Michael
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden