Next: Array Initialization
Up: Data Types
Previous: Accessing the Floating Point
  Contents
  Index
CMU Common Lisp implements characters according to Common Lisp: the
Language II. The main difference from the first version is that
character bits and font have been eliminated, and the names of the
types have been changed. base-character is the new
equivalent of the old string-char. In this implementation,
all characters are base characters (there are no extended characters.)
Character codes range between 0 and 255, using the ASCII
encoding.
Table 2.1 tbl:chars shows characters
recognized by CMU Common Lisp.
Table 2.1:
Characters recognized by CMU Common Lisp
| ASCII |
Lisp |
|
| Name |
Code |
Name |
Alternatives |
| nul |
0 |
# NULL |
# NUL |
|
|
| bel |
7 |
# BELL |
|
|
|
| bs |
8 |
# BACKSPACE |
# BS |
|
|
| tab |
9 |
# TAB |
|
|
|
| lf |
10 |
# NEWLINE |
# NL |
# LINEFEED |
# LF |
| ff |
11 |
# VT |
# PAGE |
# FORM |
|
| cr |
13 |
# RETURN |
# CR |
|
|
| esc |
27 |
# ESCAPE |
# ESC |
# ALTMODE |
# ALT |
| sp |
32 |
# SPACE |
# SP |
|
|
| del |
127 |
# DELETE |
# RUBOUT |
|
|
|
Next: Array Initialization
Up: Data Types
Previous: Accessing the Floating Point
  Contents
  Index
Peter Van Eynde
2000-02-08