On Sun, 28 Nov 2004 19:03:02 +0800, Yar Hwee Boon hboon@motionobj.com wrote:
====== x := (db root at:#xxx). x list do: [:e | e become: (BBSubclass basicNew copyFrom: e)]. "x inspect" db commit. ======
OK. Just for the record, if anyone ever needs to do this, this works. Thanks Avi.
===== x list do: [:e | e primitiveChangeClassTo: BBSubclass new. x writeBarrier add: e yourself; modified: e yourself]. =====i