r.j.rothwell at gmail.com
Mon Sep 29 12:06:46 UTC 2008
On Mon, Sep 29, 2008 at 7:57 AM, Mark Volkmann <mark at ociweb.com> wrote:
> On Sep 29, 2008, at 6:00 AM, Marcin Tustin wrote:
> The initialize method on the class side will be called only when *the
> class* is initialised. You are thinking of the instance-side initialize
> method which is called each time you create an instance.
> Wow. I wasn't aware that there was both a class and instance initialize
> method. Thanks for explaining that!
> What causes the class initialize method to be invoked ... and reinvoked
> after I change it?
You have to explicitly call MyClass>>initialize after you change it. If you
create a Monticello package, it also gets invoked after first loading the
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners