Running code on image startup

Jon Hylands jon at huv.com
Mon Jan 28 15:25:49 UTC 2008


On Mon, 28 Jan 2008 14:25:32 +0100, Bert Freudenberg <bert at freudenbergs.de>
wrote:

> Actually actually, the inherited implementation of #startUp: sends  
> #startUp.

Wow, that's pretty funny - I've been doing this (using startUp:) for years
without realizing that.

> So if you do not care if it is a fresh start or snapshot, implement  
> #startUp.

I guess it depends on what you're doing... For me, what happens at image
startup (launching a mission) is different from what happens resuming a
save (nothing).

Later,
Jon

--------------------------------------------------------------
   Jon Hylands      Jon at huv.com      http://www.huv.com/jon

  Project: Micro Raptor (Small Biped Velociraptor Robot)
           http://www.huv.com/blog



More information about the Squeak-dev mailing list