I am trying to get the format procedure to behave like the display procedure
where it will not surround output to stdout with quotes
Is there a trick do accomplish this?
Thanks,
Brad
"Whitlock, Bradley D" 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 ex
Hi Bradley,
On Tue 12 Apr 2011 17:44, "Whitlock, Bradley D"
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 instead of ~s.
scheme@(guile-user)> (format #t "~a\n" "foo")
foo
$1
() "Whitlock, Bradley D"
() Tue, 12 Apr 2011 11:44:52 -0400
I am trying to get the format procedure to behave like the display procedure
where it will not surround output to stdout with quotes
Is there a trick do accomplish this?
Probably the best trick is to explain clearly what you w