[LISPWORKS][Common Lisp HyperSpec (TM)] [Previous][Up][Next]

Variable *READTABLE*

Value Type:

a readtable.

Initial Value:

A readtable that conforms to the description of Common Lisp syntax in Section 2 (Syntax).


The value of *readtable* is called the current readtable. It controls the parsing behavior of the Lisp reader, and can also influence the Lisp printer (e.g., see the function readtable-case).


 (readtablep *readtable*) =>  true
 (setq zvar 123) =>  123
 (set-syntax-from-char #\z #\' (setq table2 (copy-readtable))) =>  T
 zvar =>  123
 (setq *readtable* table2) =>  #<READTABLE>
 zvar =>  VAR
 (setq *readtable* (copy-readtable nil)) =>  #<READTABLE>
 zvar =>  123

Affected By:

compile-file, load

See Also:

compile-file, load, readtable, Section (The Current Readtable)

Notes: None.

[Starting Points][Contents][Index][Symbols][Glossary][Issues]
Copyright 1996-2005, LispWorks Ltd. All rights reserved.