Enumeration should contain Definition of at Least One Constant

Description

No constant is specified in the custom enumeration.

Troubleshooting Tips

Specify at least one integer value of the constant.

Example

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:

Compiler Messages