*print-object-for-sending*Saving and Sendinginitialize-saved/sent-instance*save/send-references-only*GoTo Top

*save/send-references-only*   [Variable]

Purpose
Controls whether print-object-for-saving/sending prints references to instances or the instance contents.

Package   :gbbopen-tools

Module   :gbbopen-tools

Value type   A generalized boolean

Initial value   True

See also
    omitted-slots-for-saving/sending
    print-object-for-saving/sending
    print-slot-for-saving/sending

Example
Send some hyp unit instances to another agent:

 > (let ((*print-object-for-sending* 't))
      (with-saving/sending-block (stream :package ':my-app)
        (let ((*save/send-references-only* nil))
          (do-instances-of-class (instance 'hyp :plus-subclasses)
            (print-object-for-saving/sending instance stream)))))
  nil
  >


The GBBopen Project


*print-object-for-sending*Saving and Sendinginitialize-saved/sent-instance*save/send-references-only*GoTo Top