on 27/9/00 12:02 PM, Raru at [EMAIL PROTECTED] wrote:

> Hi List,
> I have some question about Global Variables, hope some one shade me a
> light.
> I used global variable in Movie A and now I jump to Movie B, so I want to
> free of the declared global used in Movie A.(not from Message Window)
> Is there any way?
> Help me.

You can remove all globals with "clearglobals".

Assuming you dont want to wipe all your globals, then set the specific
variables to 0 or VOID (or even a symbol like #ignoreThis).

Lingo variables always take 8 bytes (I think it is), plus any additional
memory needed for variable length variables (such as strings and stuff).
When you VOID a variable, it clears them from the global list  - but the
global (or even local variables) will hang on to the minimum 8 bytes of RAM
until you quit director or the projector.

Luke Wigley
Multimedia Hedonist
Mecca Medialight Pty Ltd

Mecca Medialight:                       Medialight Sound Studio:
111 Moor Street                         1 Bakehouse Lane
Fitzroy, Vic. 3065                      North Fitzroy, Vic. 3068
Tel +613 9416 2033                      Tel +613 9416 2033
Fax +613 9416 2055                      Fax +613 9416 2055

www.medialight.com.au
__________________________________________________________________________



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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