Basic smalltalk browser question: class variables
Steve Elkins
sgelkins at bellsouth.net
Sun Dec 19 06:24:23 UTC 1999
initialization
To: <campanelli at skylink.it>
CC: <squeak at cs.uiuc.edu>
"Piero Campanelli" <campanelli at skylink.it> wrote:
> But what happens when i 'File Out' my sources for another running image ?
> When you do a 'File In' in a new image you have to remember to do a
> "MyClassName initialize". Probably there is another method ......isn't there
Hi Piero,
It's always a good idea to try these things in Squeak. I filed out
AbstractSound and found this at the end of the file:
AbstractSound initialize!
so I don't think you should worry. To understand how this happens (and
therefore what you must do to make sure it does happen), have a look at
the Metaclass implementation of #fileOutOn:moveSource:toFile:.
Have fun,
Steve
More information about the Squeak-dev
mailing list
|