next up previous contents index
Next: Array Initialization Up: Data Types Previous: Accessing the Floating Point   Contents   Index

Characters

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.
change_begin
Table 2.1 tbl:chars shows characters recognized by CMU Common Lisp.
change_end


change_begin

Table 2.1: Characters recognized by CMU Common Lisp
ASCII Lisp  
Name Code Name Alternatives
nul 0 #\(\backslash\)NULL #\(\backslash\)NUL    
bel 7 #\(\backslash\)BELL      
bs 8 #\(\backslash\)BACKSPACE #\(\backslash\)BS    
tab 9 #\(\backslash\)TAB      
lf 10 #\(\backslash\)NEWLINE #\(\backslash\)NL #\(\backslash\)LINEFEED #\(\backslash\)LF
ff 11 #\(\backslash\)VT #\(\backslash\)PAGE #\(\backslash\)FORM  
cr 13 #\(\backslash\)RETURN #\(\backslash\)CR    
esc 27 #\(\backslash\)ESCAPE #\(\backslash\)ESC #\(\backslash\)ALTMODE #\(\backslash\)ALT
sp 32 #\(\backslash\)SPACE #\(\backslash\)SP    
del 127 #\(\backslash\)DELETE #\(\backslash\)RUBOUT    



change_end


next up previous contents index
Next: Array Initialization Up: Data Types Previous: Accessing the Floating Point   Contents   Index
Peter Van Eynde 2001-03-08