Running code on image startup

Bert Freudenberg bert at
Mon Jan 28 13:25:32 UTC 2008

On Jan 28, 2008, at 14:03 , Jon Hylands wrote:

> On Mon, 28 Jan 2008 06:57:21 -0300, "Edgar J. De Cleene"
> <edgardec2001 at> wrote:
>> You could have some class named MyStart, with class method startUp  
>> with your
>> code.
>> Then do Smalltalk addToStartUpList: MyStart in Workspace.
> Actually, the class side method you need to implement is #startUp:
> The argument is a boolean, to say whether the image is a fresh  
> start or
> resuming from an image save.

Actually actually, the inherited implementation of #startUp: sends  

So if you do not care if it is a fresh start or snapshot, implement  

- Bert -

More information about the Squeak-dev mailing list