Clearing memory
-
csuebele
Clearing memory
I've got a script that's running on a lot of computers without issue. One computer brings up an error with a constant that I defined, saying that it has all ready been defined, so it seems like this computer is not releasing the script variables/constants from memory. How would I make sure that it does that?
-
Mike Hale
Clearing memory
Are you sure that it is your constant/variable that is not being cleared? That user may have a start-up script somewhere that is using that same name.
One way to test would be to have the user restart the computer. Then before running your script run a short script to test to see if that variable/constant is defined.
One way to test would be to have the user restart the computer. Then before running your script run a short script to test to see if that variable/constant is defined.
-
csuebele
Clearing memory
Thanks, Mike. I'll try that. I could also give my constant another name and see if it catches the new name.