Does BlitzMax have ENUMs?

BlitzMax Forums/BlitzMax Beginners Area/Does BlitzMax have ENUMs?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I'd like to know what the real benefits of enums are? surely it doesn't save on typing. A constant is a constant and there's bound to be more elegent ways than Enums from what I can see.


The advantage don't have to provide a value for each constant, the compiler does it for you. It also allows the IDE to show a list of appropriate enums whilst you are typing.

It does save typing, no need to put "Const" and "=[Literal Value]" on each line - I suppose that is why it is useful.