I would like to Type Enum was as in C++ , that is:
Enum A a = 0 b = 1 End Enum
Dim eValue As A
eValue = 5 ' in this expression there is no logic! The compiler must prohibit the use of. ' the values should only be equal to a and b
Log in to post a comment.