Enum Test
9x25
9x34
end enum
this wont work with numbers..
Why not.. and is there a work around?
Seahag
Printable View
Enum Test
9x25
9x34
end enum
this wont work with numbers..
Why not.. and is there a work around?
Seahag
Enums are a form of named constants and as such they follow the same role as for other named constants or variable names.
That is the name must start with a letter or an underscore sign not a number.
The underscore doesn't work either.
Any suggestions how I can trick it!
:D
What Joacim is refering to is that you have to create named constants:
VB Code:
Enum MyColors RED = 1 GREE = 2 BLUE = 3 End Enum
My problem is I work with alot of engineering math,
If I were to name it something else , it would confuse people( me included)
I refer to a 9x25, 8x24 10x36 .... of the Elevator type..
Thats thier name... ?:confused: I wouldn`t know how to describe them otherwise
I am suggesting there is no work around?
Just stick a letter in front of it, whats the big deal?
Enum Test
e9x25
e9x34
end enum
It still makes sense and you can tell what it is and it'll work.
Fine then.. sheeesh
:)
Thanx everone!
Sorry! :)