|
Hi,
You only need to initialize it once. Class variable wont be initialize at every object creation, but the variable might change, yes.
For example, if you have
Object subclass: #MyClass
instanceVariableNames: ''
classVariableNames: 'MyClassVar'
poolDictionaries: ''
category: ''
initialize
MyClassVar := anObject
then, do this once
"MyClass initialize"
Thanks.
Ang Beepeng
|