Re: Top level garbage strike
Re: Top level garbage strike
- Subject: Re: Top level garbage strike
- From: Steven Angier <email@hidden>
- Date: Mon, 13 Jan 2003 20:19:02 +1100
Thanks, Axel, for the insight.
On 13/1/03 3:11 AM, "Axel Luttgens" <email@hidden> wrote:
>
I think you may simplify your example as follows:
>
>
-- Script1
>
>
script Something
>
property someProperty : {}
>
end script
>
>
repeat 100 times
>
copy Something to theInstance
>
end repeat
True, though I was merely using the "ten in a row" technique to make the
duration an accurately recordable length.
>
On each iteration, you create a new copy of Something and store it into
>
theInstance.
>
But that new copy includes Something as well as its parent (with its
>
current status).
>
That is, consecutive copies get more and more complicated.
>
>
Consider this:
<snip>
>
theInstance's theInstance's theInstance's theInstance
>
--> "xxx"
>
>
-- and so on...
Aaah -- a giant feedback loop!
>
Well, I believe the above explains much of what you observed.
>
And that all this results from explicitely defined behavior of scripts
>
objects in relationship with the copy command.
It does explain it. Thank you.
Steven Angier
Macscript.com
_______________________________________________
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.