<Syntax> |
|
ENUM , BIND(C)
The ENUM statement is the first statement in an enumeration, which
has the syntax
enum-stmt
enumerator-stmt
[ enumerator-stmt ]...
end-enum-stmt
|
|
<Semantics> |
|
|
|
An enumeration defines a set of named constants of type Integer, all with the
same kind; this is used to interoperate with a C enumeration, and the kind is
chosen to be the same as the one used by the C compiler for a corresponding
“enum” definition.
|
<Related> |
|
|
|
BIND attribute,
END ENUM statement,
ENUMERATOR statement |
|
|