NET The Enum-ID Paragraph

The Enum-ID paragraph indicates that this Identification Division introduces a enumeration definition and specifies the name that identifies the enumeration.

General Format
Syntax Rules
  1. Within an enumeration definition, the data division must consist of only a Working-Storage section that defines exactly one data item that is an integer .NET native type. The definition of this data item must be followed by level 78 entries defining constant-names, which may or may not include the VALUE clause. If the VALUE clause is omitted, the constant has the value 1 if it is the first constant, and otherwise the value of the previous constant + 1.
  2. A custom-attribute that equates to "System.FlagsAttribute" indicates that the values specified are to be treated as bit settings, and can be combined using logical AND and OR.
  3. Source units that wish to reference an enumeration definition must include the enumeration defintion in a class-specifier in their REPOSITORY paragraph.