Enums
Opened this issue · 0 comments
ericlass commented
Simple enumerations based on integer values.
Code example:
enum NotificationType { EMail, SMS, WhatsApp }
Values are assigned integer values. The first one gets 0, the second 1 etc. It is possible to specify the integer value with <name> = <value>
.
This is the first introduction of user defined types!