[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can format procedure output unquoted strings?
From: |
Mark H Weaver |
Subject: |
Re: Can format procedure output unquoted strings? |
Date: |
Tue, 12 Apr 2011 19:38:49 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
"Whitlock, Bradley D" <address@hidden> writes:
> I am trying to get the format procedure to behave like the display
> procedure where it will not surround output to stdout with quotes
Use "~A" in the format string, which formats the corresponding argument
like `display', whereas "~S" formats like `write'. For example:
(format #t "The value is ~A~%" "test") outputs: The value is test
(format #t "The value is ~S~%" "test") outputs: The value is "test"
Mark