On Tue, 05 Dec 2006 12:00:40 -0800, Bert Freudenberg bert@freudenbergs.de wrote:
The difference is that you can send any message to any object, and the object's class can decide how to handle that method. By default, the class looks into the dictionary of all defined methods and invokes the matching method. But it can also decide to handle *any* message, regardless of which methods are actually defined. This lets you implement, for example, generic object wrappers that log any message sent to an object. Or, forward the message over the network to another image. Or, which is the normal case, raise an exception that this message was not understood.
Aha. You can do that with Object Pascal, too, though not so directly.
Thanks.