Nice and useful, thanks
@LucaMs
My simple tool attached to this thread is no longer so useful because, shortly thereafter, constants were added to B4A (to B4X).
So the "get" routines created by the tool (and the private member variables) are no more needed; today the tool should only generate code like this:
' EnumStates Class
Sub Class_Globals
Public Const FREE As Int = 1
Public Const BUSY As Int = 2
Public Const UNKNOWN As Int = 3
' ...
End Sub
and you can write so simple classes quickly, without the need of tools.