OBJECT FUNCTIONS


Note that the functions provided in classes.lsp are useful but not necessary.

Messages defined for Object and Class are listed starting on page 24.


SEND A MESSAGE

(send <object> <message> [<args>...])


SEND A MESSAGE TO SUPERCLASS

(
send-super <message> [<args>])


DEFINE A NEW CLASS

(
defclass <sym> <ivars> [<cvars> [<super>]])

defined in class.lsp as a macro

This function sends :SET-PNAME (defined in classes.lsp) to the new class to set the class' print name instance variable.

Methods defined for classes defined with defclass:


DEFINE A NEW METHOD

(
defmethod <class> <sym> <fargs> <expr> ...)

defined in class.lsp as a macro


DEFINE A NEW GLOBAL INSTANCE

(
definst <class> <sym> [<args>...])

defined in class.lsp as a macro


XLISP-PLUS - Version 2.1g - Tom Almy tom.almy@tek.com - 18 JUL 94
Generated with
WebMaker