[squeak-dev] File in/out class variables
Herbert König
herbertkoenig at gmx.net
Mon Nov 3 10:10:19 UTC 2008
Hi,
is the following class side method a disaster waiting to happen?
readData
"persistance :-))"
|refStream |
refStream := ReferenceStream fileNamed: 'HkCalendar.data'.
classPool := refStream next.
refStream close.
or is a class pool just another dictionary?
BTW it doesn't work but it seemed to do no harm otherwise.
So is there a quick way to store and retrieve all class variables?
Thanks,
Herbert
More information about the Squeak-dev
mailing list
|