[HARLEQUIN][Common Lisp HyperSpec (TM)] [Previous][Up][Next]


Function CODE-CHAR

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.

Exceptional Situations: None.

See Also:

char-code

Notes:


The following X3J13 cleanup issue, not part of the specification, applies to this section:


[Starting Points][Contents][Index][Symbols][Glossary][Issues]
Copyright 1996, The Harlequin Group Limited. All Rights Reserved.