[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: format ~nC
- To: "common-lisp" <firstname.lastname@example.org>
- Subject: RE: format ~nC
- From: "BACH::ROBBINS" <email@example.com>
- Date: Fri, 09 May 1986 18:39:00 -0000
- Reply-to: "BACH::ROBBINS" <firstname.lastname@example.org>
>Is there a good reason ~C doesn't take an arg? I just naively tried
> (format t "~&~VC~VC~%" count-1 char-1 count-2 char-2)
>and was rewarded with one occurance of each character each time; the
>counts had been thrown away. ~~ takes an arg.
The FORMAT directives that output a constant character (~~, ~%, ~&, and ~|)
take a count prefix parameter and use up no arguments. The ~C directive
is more like ~A, ~S, ~G etc., these all output some representation of the
next argument in the call to FORMAT and none of them take a count parameter.
Is that a good reason? Hmm...