<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>We've been learning Smalltalk and using SmallTalk
Express and Squeak at classes in school last year, with the goal to develop a
"chemistry simulation" program in Squeak. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>My question is: What's the Squeak implementation of
"ObjectFiler" (as seen in SmalltalkExpress)? in Smalltalk Express we could save
and retreive OrderedCollections from disk as follow:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>test := ObjectFiler loadAllFromPathName:
'test.dat'.</FONT></DIV>
<DIV><FONT face=Arial size=2>ObjectFiler dumpAll: test
newFile:'c:\temp\test.dat'.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>This was great because it allowed us to save
OrderedCollections containing many different objects, etc.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>How can I do that in Squeak? I've read in Mark
Guzdial's book about FileStream but it is my understanding that FileStream works
with Strings? I'd like to save and retreive OrderedCollections containing
instancies of my own classes, Strings and ImageMorphs (saving ImageMorphs in
OrderedCollections would really solve many of my problems). I've also read about
the MineStore proyect but I'd like to do this using the equivalent Squeak
implementation of Smalltalk Express ObjectFiler.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I apologize if this question is "off topic" or
"newbie type", but I'd really apreaciate help on this.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Many thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Martín</FONT></DIV></BODY></HTML>