code-char (ANSI and GNU Common Lisp Document)

Next: char-code-limit, Previous: char-int, Up: Characters Dictionary

#### 13.2.18 code-char [Function]

`code-char` code ⇒ char-p

#### Arguments and Values::

code—a character code.

char-p—a character or nil.

#### Description::

Returns a character with the code attribute given by code. If no such character exists and one cannot be created, nil is returned.

#### Examples::

    (code-char 65.) ⇒  #\A  ;in an implementation using ASCII codes
    (code-char (char-code #\Space)) ⇒  #\Space  ;in any implementation

#### Affected By::

The implementation’s character encoding.

#### See Also::

char-code

#### Notes::