[Home] [Prev] [Next] [Index]
2.5 Character Literals
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 3.5.2.
- Examples
- 4
- Examples of character literals:
- 5
- 'A' '*' "' ' '
- Wording Changes From Ada 83
- 5.a
- The definitions of the values of literals are in Sections 3 and 4, rather than here, since it requires knowledge of types.
[Home] [Prev] [Next] [Index]
documentation@rational.com
Copyright © 1993-1998, Rational Software Corporation. All rights
reserved.