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: has <email@hidden>
- Date: Wed, 17 Jul 2002 14:10:21 +0100
Nigel Garvey wrote:
>
The saved value of savedRef is just a *reference* to a property of a
>
script object. The script object itself isn't assigned to any variable at
>
all and so I'd expect it and its property to disappear when the main
>
script terminates (as in the previous script-file demo).
It makes sense that the script object will persist as long as any
references to it exist. For AS to dispose of an object that's still in use
would be very bad form indeed, as this would only serve to break your
script. [<crunch-bang-ouch!> Naughty garbage collector; no pudding for you!]
Just because we don't know what we're doing ourselves doesn't mean AS isn't
looking after us...;)
has
--
http://www.barple.connectfree.co.uk/ -- The Little Page of Beta AppleScripts
_______________________________________________
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.