2.5 Character Literals

From OC Systems Wiki!
Jump to: navigation, search

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

Syntax

character_literal ::= 'graphic_character'

Notes

4  A character_literal is an enumeration literal of a character type. See 3.5.2.

Examples

Examples of character literals:

'A'     '*'     '''     ' '

Copyright © 1992,1993,1994,1995 Intermetrics, Inc.
Copyright © 2000 The MITRE Corporation, Inc. Ada Reference Manual