Prev | Up | Next | Back | Forward
TOC -- / --.-- / --.--.-- | Index | Search | Syntax | Help


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'

(3)
Examples
(4)
Examples of character literals:
(5)
       'A'     '*'     '''     ' '


Prev | Up | Next | Back | Forward
TOC -- / --.-- / --.--.-- | Index | Search | Syntax | Help

Ada WWW Home -- Email comments, additions, corrections, gripes, kudos, etc. to:

Magnus Kempe -- Magnus.Kempe@di.epfl.ch
Copyright statement
Page last generated: 95-03-12