in reply to Re: Enum
in thread Enum

There is also a 'constant' module for defining constants in a similar (and perhaps more readable) fashion. Set them to powers of 2 and you can even use AND/OR operations on variables using them.