Next: Arrays, Previous: Integers, Up: Lisp objects
ECL has only one type of characters, which fits in the C type char
.
The following constants and functions operate on characters.
Each character is assigned an integer code which ranges from 0 to (CHAR_CODE_LIMIT-1).
Returns the integer code associated to a lisp character. Only
char_code
checks its arguments.
Returns the lisp character associated to an integer code. It does not check its arguments.
Coerces a lisp object to type character. Valid arguments are a character, or a string designator of length 1. In all other cases an error is signaled.