home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / lisp / 2442 < prev    next >
Encoding:
Internet Message Format  |  1992-09-15  |  934 b 

  1. Xref: sparky comp.lang.lisp:2442 comp.lang.clos:815
  2. Newsgroups: comp.lang.lisp,comp.lang.clos
  3. Path: sparky!uunet!caen!batcomputer!cornell!raman
  4. From: raman@cs.cornell.edu (T. V. Raman)
  5. Subject: Smart diplay method 
  6. Message-ID: <1992Sep15.234132.10261@cs.cornell.edu>
  7. Summary:   print-object method that displays slot names   and values
  8. Keywords: display objects, print objects clos 
  9. Organization: Cornell Univ. CS Dept, Ithaca NY 14853
  10. Date: Tue, 15 Sep 1992 23:41:32 GMT
  11. Lines: 16
  12.  
  13.  
  14. How do I write a print-object method for a class that neatly formats
  15. slot names and values one per line without having to explicitly write
  16. (format "..."
  17. (<slot-name-value> object)
  18. ..
  19. )
  20.  
  21. Thanks,
  22.  
  23. --Raman
  24. -- 
  25.    T. V. Raman <raman@cs.cornell.edu>Tel: (607)255-9202  R 272-3649
  26.                        Office: 4116 Upson Hall,
  27. Department of Computer Science, Cornell University Ithaca NY 14853-6201
  28.                 Res: 226 Bryant Avenue Ithaca NY 14850
  29.