QUOTE
Yes, partially if you know their name, buy you shouldn't be making those globals in fisrtplace. . Just dont declare globals unless you really intend to use them if you do use a name thats not likely to clasdh such as mgGlobalVariableWithGoodName. Fixing stuff afterwards is just plain extra. work better.
Are those globals stored in Maya's memory once its closed though? I'm only wondering because last week I was making a lot of scripts, and in the editor, I'd use brackets, but sometimes in my copy and pasting, one would get deleted or something, so a variable would be made global, so I'd restart Maya and it'd be fine. But now for some reason, after I perform random tasks in Maya, it will execute the command fine, but then I'll get a random error saying, "No object exists: " So I think something may be floating around somewhere, but I'm not sure...