[HOW DO I?] Objects to/from disk...

Bert Freudenberg bert at isgnw.CS.Uni-Magdeburg.De
Wed Dec 22 12:20:20 UTC 1999


On Tue, 21 Dec 1999, Ali Chamas wrote:

> Imagine i had created a global instance of Dictionary called "Images"
> which i'm using to hold any imported images within. If i wanted to
> archive this dictionary to disk, then bring the variable back into a
> fresh image, would it be best to use method 2)?

I'd say yes, because this is what SqC does - it must be good :-)

See StandardScriptingSystem>>#saveFormsToFileNamed: and
StandardScriptingSystem>>#readFormsFromFileNamed: for an example.

  -Bert-





More information about the Squeak-dev mailing list