Go to the first, previous, next, last section, table of contents.


2.5 Character Literals

  1. A character_literal is formed by enclosing a graphic character between two apostrophe characters.

    Syntax

  2. character_literal ::= 'graphic_character'
    

    NOTES

  3. (4) A character_literal is an enumeration literal of a character type. See section 3.5.2 Character Types.

    Examples

  4. Examples of character literals:
  5. 'A'     '*'     '''     ' '
    


Go to the first, previous, next, last section, table of contents.