《通链参考手册》


Variable *PRINT-ESCAPE*

●值类型:

a generalized boolean.

●初始值:

true.

●详情:

If false, escape characters and package prefixes are not output when an expression is printed.

If true, an attempt is made to print an expression in such a way that it can be read again to produce an equal expression. (This is only a guideline; not a requirement. See *print-readably*.)

For more specific details of how the value of *print-escape* affects the printing of certain types, see Section 22.1.3 (Default Print-Object Methods).

●例子:

 (let ((*print-escape* t)) (write #\a))
>>  #\a
=>  #\a
 (let ((*print-escape* nil)) (write #\a))
>>  a
=>  #\a

●受制于:

princ, prin1, format

●更多信息:

write, readtable-case

●说明:

princ effectively binds *print-escape* to false. prin1 effectively binds *print-escape* to true.


◇首页 § ◎章节目录 § □内容索引 § ○符号索引 § △术语表 § ※设计草案