On 6/16/05 9:40 PM, "Cole Tierney" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I'm working on a project that needs to go movie some
> "existing_movie". The problem is that this "existing_movie" calls
> clearglobals a couple times and tromps on my global space. I could
> get access to "existing_movie" and toss a reference to
> gMySpecialPlist into a temp variable and restore it after
> clearglobals. But ideally, I'd like a solution that does not touch
> the code in "existing_movie".

Hi Cole,

'version' does not get zapped when all other globals are cleared.  You could
save all your globals (including version itself) in a property list, set
'version' to the property list, call clearGlobals, then restore everything
from your property list.

Cheers,

James

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[email protected]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to