![[HARLEQUIN]](../Graphics/Harlequin-Small.gif)
![[Previous]](../Graphics/Prev.gif)
![[Up]](../Graphics/Up.gif)
![[Next]](../Graphics/Next.gif)
Syntax:
char-code character => code
Arguments and Values:
character---a character.
code---a character code.
Description:
char-code returns the code attribute of character.
Examples:
;; An implementation using ASCII character encoding ;; might return these values: (char-code #\$) => 36 (char-code #\a) => 97
Affected By: None.
Exceptional Situations:
Should signal an error of type type-error if character is not a character.
See Also:
char-code-limit
Notes: None.
![[Starting Points]](../Graphics/Starting-Points.gif)
![[Contents]](../Graphics/Contents.gif)
![[Index]](../Graphics/Index.gif)
![[Symbols]](../Graphics/Symbols.gif)
![[Glossary]](../Graphics/Glossary.gif)
![[Issues]](../Graphics/Issues.gif)