gee, well yes it does. It's called enum, oddly enough.
Public Enum MyENumValues None = 0 Test = 1 Error = 5 Retry = 7 End Enum
The value assignments are optional. If omitted, sequential values are assigned automatically.
"Jay" <nospam> wrote in message news:ebBvr$%23JGHA.360[ at ]TK2MSFTNGP12.phx.gbl...
[Quoted Text] > Is there anything similar to the enum statement in C? > > Eg, I can have four constants defined using this statement (if I remember > my C correctly): > > enum {NONE=0, TEST=1, ERROR=5, RETRY=7}; > >
|