char-code character => code
character—a character.
code—a character code.
char-code returns the code attribute of character.
;; An implementation using ASCII character encoding
;; might return these values:
(char-code #\$) => 36
(char-code #\a) => 97
Should signal an error of type type-error if character is not a character.