User Tools


Function CHARACTER

Syntax

  • character characterdenoted-character

Arguments and Values

Description

Returns the character denoted by the character designator.

Examples

(character #\a)

#\a

(character "a")

#\a

(character 'a)

#\A

(character '\a)

#\a

(character 65.)

ERROR: 65 is not a character.

(character 'apple)

ERROR: APPLE is not a character.

Affected By

None.

Exceptional Situations

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

See Also

Notes

(character object) ≡ (coerce object 'character)

\issue{CHARACTER-PROPOSAL:2-1-1}