Re: Opposite of ~^ FORMAT Directive
- From: vy <volkan.yazici@xxxxxxxxx>
- Date: 29 Apr 2007 04:19:27 -0700
Hi,
On Apr 29, 7:25 am, Kent M Pitman <pit...@xxxxxxxxxxx> wrote:
vy <volkan.yaz...@xxxxxxxxx> writes:
Is it possible to make FORMAT print a phrase just in the first element...
of a ~{...~} list iteration. (Like opposite of ~^.)
If the case of (foo '()) is something you worry about, then use:
(defun foo (x) (format t "~:[None~;~:*First ~{~A~^, then ~}~]." x))
=> FOO
(foo '())
None.
=> NIL
Yep, this is what I was looking for. Thanks so much for your detailed
answer.
Regards.
.
- References:
- Opposite of ~^ FORMAT Directive
- From: vy
- Re: Opposite of ~^ FORMAT Directive
- From: Kent M Pitman
- Opposite of ~^ FORMAT Directive
- Prev by Date: Re: Any macro for inserting math "normally"
- Next by Date: how to pronounce BOUND
- Previous by thread: Re: Opposite of ~^ FORMAT Directive
- Next by thread: Re: Opposite of ~^ FORMAT Directive
- Index(es):
Relevant Pages
|