The CLHS describes 22.3.1.4 Tilde Vertical-Bar: Page This outputs a page separator character, if possible. ~n| does this n times.
I did not find much for page separator character. Trying it out with SBCL 2.0 on MacOS a page separator seems to be the newline (Ascii 0A). This would make it the same as ~%?
Was it something else in the long history of Common Lisp?
For me, the output is ^L
- ASCII NP
, which, when presented to a printer, finishes the current page and starts on the next page.
It's the #\page
character:
CL-USER> #\page
#\Page
CL-USER> (describe *)
#\Page
[base-char]
Char-code: 12
Char-name: Page
CL-USER> (format nil "~|")
"^L"
CL-USER> (aref * 0)
#\Page
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With