No constant is specified in the custom enumeration.
Specify at least one integer value of the constant.
Enum MyEnum
End Enum MyEnum;
When the specified code is compiled, the following error is displayed: Enumeration should contain definition of at least one constant. To resolve the error, specify a constant value in the enumeration.
See also: