Sending Messages

A message is sent to an object using the call:
         (sendm object selector args)
where object is the object to which the message is sent, selector is the name of the message (usually quoted), and args are the arguments of the message, if any.

For example, if c is a circle object and we want its area, we could use the call:


   (sendm c 'area)

The CLOS system uses a syntax (area c) that is nicer but may obscure the fact that an expensive operation is occurring.

Contents    Page-10    Prev    Next    Page+10    Index