NC0029: ENUM

Configuration of a prefix for a variable declaration of an enumeration type.

Sample declaration:

Declaration of an enumeration:

TYPE E_Sample :
(
    eMember1 := 1,
    eMember2
);
END_TYPE

For the following variable declaration the prefix configured for NC0029 is used for the formation of the overall prefix, compliance with which is checked during execution of the static analysis.

eSample  : E_Sample;