Skip to main content

code-char

code-char Function

Syntax:

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:

Expanded Reference: code-char

tip

TODO: Please contribute to this page by adding explanations and examples

(code-char )