Storing and Retrieving Points
Ken G. Brown
kbrown at tnc.com
Thu Sep 27 20:29:46 UTC 2001
I'm having trouble storing and retrieving Points. What am I doing wrong?
pt _ Point new.
pt _ 25 at 125.
dict _ Dictionary new.
dict at: 'first' put: #('text' pt).
readpt _ ((dict at: 'first') at: 2). "readPt is now a Symbol rather than a
Point"
In general what would be the best way to store the location and extent of a
window, for restoration the next time it is opened as a new instance.
Thx for any pointers.
Ken
More information about the Squeak-dev
mailing list
|