home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / lisp / 3113 < prev    next >
Encoding:
Text File  |  1992-12-20  |  951 b   |  46 lines

  1. Newsgroups: comp.lang.lisp
  2. Path: sparky!uunet!bcstec!bronte!kayak!ski
  3. From: ski@atc.boeing.com (Chris Kacoroski,none)
  4. Subject: Use of format or pprint
  5. Message-ID: <1992Dec17.173558.18552@grace.boeing.com>
  6. Sender: usenet@grace.boeing.com (For news)
  7. Reply-To: ski@atc.boeing.com
  8. Organization: Boeing - Product Manufacturing Knowledge Based Systems
  9. Distribution: usa
  10. Date: Thu, 17 Dec 1992 17:35:58 GMT
  11. Lines: 33
  12.  
  13. Hi,
  14.  
  15. I need help in figuring out a format statement.
  16.  
  17. (setq a "org")
  18. (setq b "chris dan ski elaine nick tony charlie jeff jeffw bruce mike kim kelly")
  19.  
  20. or a list of names
  21.  
  22. (setq b '("chris" "dan" "ski"...))
  23.  
  24. What format string
  25.  
  26. (format "???" a b)
  27.  
  28. will print them in this format
  29.  
  30. org:    chris dan ski elaine nick tony charlie
  31.     jeff jeffw bruce mike kim kelly
  32.  
  33.  
  34.  
  35. Thanks in advance
  36.  
  37.  
  38. Cheers,
  39.  
  40. Chris "ski" Kacoroski    "When we try to pick out anything by itself
  41. ski@atc.boeing.com     we find it connected to the entire universe"
  42.                             John Muir
  43.  
  44.  
  45.  
  46.