Store each one in a local:

global gSomeVariable
global gSomeOtherVariable
global gYetAnotherSpecialThing

on ClearGlobalExceptForASelectedFew
   savedGlobal1 = gSomeVariable
   savedGlobal2 = gSomeOtherVariable
   savedGlobal3 = gYetAnotherSpecialThing
     ...
   clearGlobals
   gSomeVariable = savedGlobal1
   gSomeOtherVariable = savedGlobal2
   gYetAnotherSpecialThing = savedGlobal3
      ...
end

Irv

At 6:14 PM -0600 4/29/02, Tom Richardson wrote:
>Hello List,
>
>Can someone please help?
>
>If I use "clearGlobals" to clear my globals,   how can I not clear a 
>hand full of globals?
>
>Is there a different way for me to set vars other than globals?
>
>I have a need to reset all globals (hundreds of them) but hang onto 
>a small hand full
>
>
>Thank you!
>Tom
>[EMAIL PROTECTED]
>http://datausa.com/
>
>[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!]


-- 

Lingo / Director / Shockwave development for all occasions. 
          
   (Home-made Lingo cooked up fresh every day just for you.)
[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