On Monday 22 December 2003 08:27 am, Ken Dickey wrote:
> On Monday 22 December 2003 05:08 am, Alex Shinn wrote:
> > Should ~C display the character, write the character, or display the
> > name of the character as in CL? ~A is for display and ~S for write, so
> > I would suggest the latter (currently it's the equivalent of ~A).
>
> You are correct in both cases. I will change the code.
I take it back. I won't change the code for ~C. [I will for ~Y].
CL DISPLAY's the character as well. From the CL Hyperspec:
(format nil "~C" #\A) => "A"
(format nil "~C" #\Space) => " "
CLisp Agrees:
[CL]> (format nil "~c ~c ~c" #\space #\tab #\newline)
"
"
[CL]> (format nil "~s ~s ~s" #\space #\tab #\newline)
"#\\Space #\\Tab #\\Newline"
[CL]> (format nil "~a ~a ~a" #\space #\tab #\newline)
"
"
Cheers,
-KenD