ToC DocOverview CGDoc RelNotes Index PermutedIndex
Allegro CL
Home Previous Up Next Table of Contents Index
  ANSI Common Lisp   13 Characters   13.2 Dictionary of Characters

13.2.16 char-code Function

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

Exceptional Situations:
Should signal an error of type type-error if character is not a character.

See Also:
char-code-limit

Allegro CL Implementation Details:
None.

Home Previous Up Next Table of Contents Index
© Franz Inc. 1998-2019 - File last updated 02-07-2019