Reading Dictionary from File

Cameron Bowes cbowes at mnsinc.com
Sun Dec 6 00:41:23 UTC 1998


-----Original Message-----
From: Andreas Raab <raab at isgnw.CS.Uni-Magdeburg.De>


>> I think I must be missing something really simple here!
>
>You're right. The magic line of code is:
>
>  Object readFrom: (FileStream readOnlyFileNamed:'myFile').
>

Thanks so much, Andreas!  That got me right back on track. I don't know how
I missed #readFrom: while I was digging around in the browser, but I did. I
do much of my work on a Handheld, and one of the downsides is limited screen
real estate (and a stylus is a poor substitute for a mouse). However, I
always wind up learning about 40 other things on the way, which seems to be
one of the many enjoyable facets to learning to program Smalltalk -- now
that I'm getting through my adjustment to pure object-oriented programming.

Thanks also for the gentle reminder about using "implementors of..." as a
way to get some more insight into the subclassing.

Kindest regards,

Cam Bowes
cbowes at mnsinc.com





More information about the Squeak-dev mailing list