home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.lisp
- Path: sparky!uunet!stanford.edu!lucid.com!karoshi!york
- From: york@oakland-hills.lucid.com (Bill York)
- Subject: Re: Use of format or pprint
- In-Reply-To: kramer@cme.nist.gov's message of 24 Dec 92 17:13:19 GMT
- Message-ID: <YORK.92Dec24124001@oakland-hills.lucid.com>
- Sender: usenet@lucid.com
- Reply-To: York@Lucid.COM
- Organization: Lucid, Inc.
- References: <1992Dec17.173558.18552@grace.boeing.com> <20483@cosmos.cme.nist.gov>
- Distribution: usa
- Date: 24 Dec 92 12:40:01
- Lines: 19
-
- In article <20483@cosmos.cme.nist.gov> kramer@cme.nist.gov (Tom Kramer) writes:
-
- In article <1992Dec17.173558.18552@grace.boeing.com> ski@atc.boeing.com writes:
-
- >What format string
- >(format "???" a b)
- >will print them in this format
- >
- >org: chris dan ski elaine nick tony charlie
- > jeff jeffw bruce mike kim kelly
-
- Using (setq b '("chris" "dan" "ski" ...)) the following works
-
- (format t "~A:~{~8T~A~^ ~A~^ ~A~^ ~A~^ ~A~^ ~A~^ ~A~^~%~}" a b)
- I wasted an hour on that, but I learned something. Merry Christmas!
-
- To paraphrase the old TECO joke:
-
- "FORMAT. A moment of convenience. A lifetime of regret."
-