Contents of this page:
Enumeration types in VB allow the representation of a single value by a number of different states. Python has no equivalent concept and so enumerations are simply mapped to a series of integer values. The enumeration names become local or global names depending on the scope of the enumeration. If the values for the enumeration items are specified then these are used, if not then the values are chosen sequentially starting at zero.
VB | Python |
---|---|
|
|
There are no options specific to the Enum statement.