newbie question: poolDictionaries
Stephane Rollandin
hepta at zogotounga.net
Fri Mar 7 19:52:39 UTC 2003
Two questions, actually
1) in the following definition:
Object subclass: #SomeSubclass
instanceVariableNames: ''
classVariableNames: 'A B'
poolDictionaries: ''
category: 'Some-Category'
what are poolDictionaries ?
2) if I subclass SomeSubclass like this:
SomeSubclass subclass: #SomeSubSubclass
instanceVariableNames: ''
classVariableNames: ''
poolDictionaries: ''
category: 'Some-Category'
it appears that the class variables A and B are shared by both classes. Is
it possible to have some kind of a class variable that can store different
values along the inheritance chain ? (e.g. A is 5 in SomeSubclass and A is
'hello' in SomeSubSubclass)
if not, how do you get this behaviour ?
I guess I'm missing something here :)
Stef
More information about the Squeak-dev
mailing list
|