#changeClassToThatOf: in Squeak?

Bob Arning arning at charm.net
Tue Jul 25 15:52:10 UTC 2000


On Tue, 25 Jul 2000 17:22:22 +0200 (CEST) Johan Brichau <johanb at asterix.rave.org> wrote:
>Does anyone know how to achieve the same functionality in Squeak of the
>#changeClassToThatOf: message on Object in VisualWorks Smalltalk?
>
>This message changes the class of the receiving object to the class of the
>argument.

Johan,

You might try Object>>as: and see if that does what you want.

Cheers,
Bob





More information about the Squeak-dev mailing list