{Spam?} Re: {Spam?} Data conversion using #primitiveChangeClassTo: with GOODS

Yar Hwee Boon hboon at motionobj.com
Sun Nov 28 11:03:02 UTC 2004


On Sun, 28 Nov 2004 11:42:42 +0100, Avi Bryant <avi.bryant at gmail.com>  
wrote:

> match your post, this should be "e become: (BBSubclass basicNew
> copyFrom: e)".

I'm getting the same result. I think this still face the same issue. What  
I'm doing is:

======
x := (db root at:#xxx).
x list do: [:e | e become: (BBSubclass basicNew copyFrom: e)].
"x inspect"
db commit.
======

Seems that the list/element is not marked as dirty.

-- 
Regards
HweeBoon
MotionObj



More information about the Squeak-dev mailing list