[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-users] ProxySpace and currentEnvironment





Hi list

I've got a rather complex environment whose classes need to access environmental
variables.

The problem is that when I use ProxySpace (and I don't really use it these days
- just when testing examples and such) it creates a new environment and my 
system is fucked as the environmental variables are gone.

How can I keep the old envir variables? Here is the problem:

~a = 1234 // lots of stuff kept here
~a
p = ProxySpace.push(s);
~a

I guess the proper solution is to create a general "store-all-environment-settings" class 
that keeps all the relevant stuff in classvars?

Cheers 
thor