Hi Roelof 2014-04-01 14:52 GMT+02:00 Roelof Wobben <r.wob...@home.nl>:
> Hello, > > Im on this page now: http://squeak.preeminent.org/tut2007/html/017.html > > I do not understand one thing. > > Where do I put the initialize "script" > What do you mean with "script", the method? > > When I put it on the initializeActiveSegments then initialize get not > found. > > Or must I make a seperate protocol named ActiveSegments for it. > The protocols are only used for grouping/organizing methods, it does not make a difference on how the methods are found or executed. In that tutorial, both methods are in the protocol initialize-release. > If I made a initialize on the initiialize protocol. ActiveSegments stays > nill. > > Roelof > > > the initialize method is called "automatically" for every Object/Cell when it is created with "new" "Cell new" -> creates a new Cell and calls initialize.