Re: Properties of junked script objects persist if referenced
Re: Properties of junked script objects persist if referenced
- Subject: Re: Properties of junked script objects persist if referenced
- From: Nigel Garvey <email@hidden>
- Date: Wed, 17 Jul 2002 11:30:10 +0100
Chris Espinosa wrote on Tue, 16 Jul 2002 16:16:10 -0700:
>
On Tuesday, July 16, 2002, at 03:52 PM, Nigel Garvey wrote:
>
>
> Just how much of what is saved back to the file in this case?
>
>
Without quoting the entire illuminating original post, I'll just give
>
you the answer. You came very close to figuring it out yourself, in
>
fact, you even demonstrated the key issue:
>
>
> the result's contents
>
> --> {6, 7, 8, 9, 10}
>
>
'result' is a property of the script's context.
>
>
And when a script is saved, it's saved with all the properties of its
>
context, and therefore is saved with the last result of its execution,
>
if any.
Thanks for the swift reply, Chris. :-) Forgive my obtuseness, but are you
saying that a *reference* to a property of a script object is not an
independent entity but comes within that script object's 'context'?
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.