Gary, Now THAT helped :) One caveat is that the resulting monolithic #initialize overwhelms the compiler. At least the compiler complains about it rather than silently failing. I simply broke up the source into #initialize1 and 2, and all appears to have worked. Bill ________________________________________ From: pharo-project-bounces@lists.gforge.inria.fr [pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Gary Chambers [gazzaguru2@btinternet.com] Sent: Tuesday, July 27, 2010 5:26 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] Pool dictionaries Hi Bill, not sure of the limit, if there is one. See BalloonEngineConstants for an example (that has lots too!). Regards, Gary ----- Original Message ----- From: "Schwab,Wilhelm K" <bschwab@anest.ufl.edu> To: <Pharo-project@lists.gforge.inria.fr> Sent: Tuesday, July 27, 2010 2:56 AM Subject: Re: [Pharo-project] Pool dictionaries
Gary,
I found SharedPool, but it was not clear to me how it was supposed to work. By initializers, do you mean a class-side #initialize that sets the values of the class variables? How many class variables can a class have? There are quite a few constants in/for the offending gizmo =:0 I could create multiple pools, which might make things more readable, but the real goal is to just make it work.
Thanks,
Bill
________________________________________ From: pharo-project-bounces@lists.gforge.inria.fr [pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Gary Chambers [gazzaguru2@btinternet.com] Sent: Monday, July 26, 2010 2:20 PM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] Pool dictionaries
See SharedPool and subclasses...
No longer dictionaries as such, explained in the class comment.
Subclass SharedPool with the name you want and add class vars and initialisers.
Regards, Gary
----- Original Message ----- From: "Schwab,Wilhelm K" <bschwab@anest.ufl.edu> To: <Pharo-project@lists.gforge.inria.fr> Sent: Monday, July 26, 2010 6:51 PM Subject: [Pharo-project] Pool dictionaries
What is the current status of pool dictionaries? I have some code that uses one, and for pretty good reason. What do I need to do?
Bill
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project