Re: [Newbies] Howto initialize class variables

2010-03-20 Thread David T. Lewis
On Sat, Mar 20, 2010 at 10:10:10AM +0100, Bert Freudenberg wrote: > On 20.03.2010, at 09:46, Alex Schenkman wrote: > > Hi List! > > > > I'm playing with class variables. How should I initialize them? > > I've tried with the class method initialize but it does not do the job. > > > > Pirulo class>

Re: [Newbies] Howto initialize class variables

2010-03-20 Thread Randal L. Schwartz
> "Alex" == Alex Schenkman writes: Alex> Bert your are super! Alex> * never call "super initialize" on the class side Alex> Why? I thought it was "polite" to do it, =) It breaks things by double initializing them. The code loaders run initialize automatically. So when the parent class wa

Re: [Newbies] Howto initialize class variables

2010-03-20 Thread Alex Schenkman
Bert your are super! * never call "super initialize" on the class side Why? I thought it was "polite" to do it, =) On Sat, Mar 20, 2010 at 10:10, Bert Freudenberg wrote: > On 20.03.2010, at 09:46, Alex Schenkman wrote: > > Hi List! > > > > I'm playing with class variables. How should I initial

Re: [Newbies] Howto initialize class variables

2010-03-20 Thread Bert Freudenberg
On 20.03.2010, at 09:46, Alex Schenkman wrote: > Hi List! > > I'm playing with class variables. How should I initialize them? > I've tried with the class method initialize but it does not do the job. > > Pirulo class>>initialize > super initialize. > myClassVar := Dictionary new at: 'one'

[Newbies] Howto initialize class variables

2010-03-20 Thread Alex Schenkman
Hi List! I'm playing with class variables. How should I initialize them? I've tried with the class method initialize but it does not do the job. Pirulo class>>initialize super initialize. myClassVar := Dictionary new at: 'one' put: 1. Thanks in advance! _