Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / Enum keyword

Author
Message
Kot
7
Years of Service
User Offline
Joined: 2nd Mar 2017
Location:
Posted: 10th Apr 2020 20:01
Is there anything like that in AppGameKit? I think it could be very useful and make our lives much easier...
AdamWales
4
Years of Service
User Offline
Joined: 17th Apr 2019
Location:
Posted: 16th Apr 2020 21:19
There isnt unfortunately. I would also like to see Boolean data type - my days of VB.NET and C# yearn for this way of coding.

As to the enum, i saw a post a while back and it basically said to use constant variables, i have used that and it does work but somewhat clunky and of course doesnt show in the IDE as an enum type so you have to remember the variable names.
That said, if for example you had a enum Colour

you could have variables
enum_ColourRed
enum_ColourBlue etc

so in the IDE, when you start type enum you will get the list up.

Login to post a reply

Server time is: 2024-03-29 00:15:02
Your offset time is: 2024-03-29 00:15:02