How to use SmartRefStream

Ken Causey ken at kencausey.com
Mon Aug 16 15:58:58 UTC 2004


On Mon, 2004-08-16 at 08:35, GermXn S. Arduino wrote:
> Hi:
> 
> I've a model with only one instance in the image and I backup this model
> with:
> 
> | rr |
> rr := SmartRefStream fileNamed: 'MyModel.obj'.
> rr nextPut: MyModel someInstance.
> rr close.
> 
> But I can't figure out how to read again inside the image

If memory servers you want to use ReadWriteStream>>fileInObjectAndCode.

Ken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040816/8dd06bbb/attachment.pgp


More information about the Squeak-dev mailing list