HP C/iX Reference Manual (31506-90011)

22 Chapter2
Lexical Elements
Enumeration Constants
Enumeration Constants
Enumeration constants are identifiers defined to have an ordered set of integer values.
Syntax
enumeration-constant
:=
identifier
Description
The identifier must be defined as an enumerator in an enum definition. Enumeration
constants are specified when the type is defined. An enumeration constant has type int.