Originally Posted by lyravega
At the moment, on initialize, I run a function which sets the old variables to nil, so that they disappear from the savedVariables. Is there a built-in command or something easier that'd do the same job?
|
Maybe I'm confused, but why are you saving variables if you set them to nil on initialize?
If they're "released" and become unused, you can set them to nil in the program, afaik.
edit: actually I guess it depends on HOW you're doing it. It will work with one level of indirection like saving the variable SV, then SV.unused = nil. If you try SV=nil, it won't work.