Menu

#263 Enum as C++

open
nobody
None
2012-11-24
2012-11-24
stabud
No

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

Discussion


Log in to post a comment.