Hi,
I am sure I posted this already, but couldn't find it on the forum so here it is again.
Jack now has over 550 constants for various elements of the program and its a bitch to maintain them, I am not looking forward to sorting them out so atm I generally whack a new constant at the end, but I would like to better group the constants sequentially so I can a) completely make use of >= and <= in conditional checks and b) make it more concise and legible.
When Allanon do you hope to introduce an Enum command?
Of course I want to be able to specify the start value so I can group constants together with more freedom and less unnecessary maintainence.
At the moment without Enum the situation is a real headache.
Eg.
Enum #IMAGETOBMP = 0, #IMAGETOGIF, #IMAGETOIFF, #IMAGETOJPG, #IMAGETOPNG, #IMAGETOWEBP
Enum #DOCUMENTICON = 6, #IMAGESICON, #MUSICICON, #VIDEOICON
Enumeration
Enumeration
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
http://myevolve.wordpress.com
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Enumeration
An Enum might come in a future version but I guess there're still more important things to implement