At DebugTime, B4A Const declared in Sub Class_Globals are not initialized when the value is assigned from another module. Everything works as expected at runtime. B4i 8.51 doesn't have this issue.
Sub Class_Globals
' OK
Public Const State_unknown = -1 As Int
' Not initialized at...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.