Creating an Instance

An instance object is created using the call:
         (make-instance class inits)
where class is the class of the instance and inits is a sequence of :initarg names and corresponding values.

Example:


   (make-instance 'xyvector :x 3 :y 4)

The macro make-instance calls make-instance-expr with the first argument evaluated but the remaining arguments un-evaluated.

Contents    Page-10    Prev    Next    Page+10    Index