In Lisp FORMAT, all directives start with a tilde (~). If I just want to output string "~", how can I do that with FORMAT?
How to output tilde with FORMAT in Lisp? [closed]
Asked Answered
CL-USER 27 > (format t "~~")
~
NIL
CL-USER 28 > (format t "~10~")
~~~~~~~~~~
NIL
Documentation link: 22.3.1.5 Tilde Tilde: Tilde. –
Hominy
Rainer explains it a lot better than the documentation. –
Buffum
© 2022 - 2024 — McMap. All rights reserved.
format
directive Tilde Tilde. (See this question on Meta: What should one do if they have a question that the answer is already on google?) – Hominy