Enumeration

Feature requests for future versions of Hollywood can be voiced here
Post Reply
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Enumeration

Post by djrikki »

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
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
User avatar
airsoftsoftwair
Posts: 5443
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Enumeration

Post by airsoftsoftwair »

An Enum might come in a future version but I guess there're still more important things to implement :)
Post Reply