In article <····························@posting.google.com>,
brandon bernie <·········@hotmail.com> wrote:
>I am trying to write a lisp function that handles format strings, and
>was wondering where i can get some documentation on doing this.
Most functions that accept format strings don't try to parse it themselves,
they just use (apply #'format format-string args).
--
Barry Margolin, ······@genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
In article <····························@posting.google.com>, brandon
bernie wrote:
> I am trying to write a lisp function that handles format strings, and
Handles them in what way? Do you mean accepts a format string, with some
remaining arguments, and does something similar to the format function? That's
easy enough, just use apply to bounce those arguments to format.
(defun write-to-log (format-string &rest args)
(apply #'format *log-stream* format-string args))