Jan Blizničenko wrote
> Now I'm trying to do something similar for class-side variables, but with
> no success.

What you created is a class-side instance variable, which is private to just
that class. What you want is a class variable, which is shared by all
subclasses and instances. You declare it in the class definition with
#classVariableNames:. There is a very nice explanation of these basic (but
confusing!) concepts in the "Pharo By Example" book.



-----
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/class-initialization-and-class-side-variables-tp4822869p4822879.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply via email to