BlockContext serialization

Bob Arning arning at charm.net
Tue Mar 4 17:03:33 UTC 2003


On Tue, 4 Mar 2003 08:42:25 -0800 Ned Konz <ned at bike-nomad.com> wrote:
>On Tuesday 04 March 2003 07:49 am, Stephane Rollandin wrote:
>
>> a ScaleMorph can not be written to a file (nor serialized with
>> SIXX) because of its tickPrintBlock
>> inst var which is a BlockContext.
>>
>> is that a bug or a feature ?
>
>A bug, I think.
>
>> is there a workaround, apart from saving the whole project around
>> the morph ?
>
>Change the ScaleMorph code to use a Message and then use #sentTo: 
>instead of #value: ?

Or simply use something that understands #value: and is not a BlockContext.

Cheers,
Bob



More information about the Squeak-dev mailing list