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.6 character Function

Syntax:
character character    denoted-character

Arguments and Values:
character - a character designator.

denoted-character - a character.

Description:
Returns the character denoted by the character designator.

Examples:
 (character #\a)  #\a
 (character "a")  #\a
 (character 'a)  #\A
 (character '\a)  #\a
 (character 65.) is an error.
 (character 'apple) is an error.

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

See Also:
coerce

Notes:
 (character object) ==(coerce object 'character)

Allegro CL Implementation Details:
None.

Home Previous Up Next Table of Contents Index
© Franz Inc. 1998-2015 - File last updated 03-23-2015