Also the constants would be very useful.
I think that implementing Enums and Constants is particularly difficult; otherwise, Erel certainly would have done from the earliest versions of B4A.
You can implement a sort of Enum using classes.
I have developed (right now!) a small and
careless tool which allows you to create an "enum" class.
I used B4J, so it can be installed almost anywhere.
The problem is that it takes up about 1.671kb (zipped) so I can not attach it.
(Source code 8k, layout 3k, compiled 1.821kb!
)
A solution to this, Erel? [P.S. I do not have clouds]
Two notes:
1) the code is automatically copied to the clipboard:
2) I write a lot faster than it looks in the gif
Maybe I solved (I created an account. I hope that the file is available ... and that only it is available
).
dropbox link