B4J Question Global constant

ZiX

Member
Licensed User
Hi,

I'm new in b4a. I've reading the docs and can't find any information about the right way of creating and using global constants. Can somebody explain how I can do that. For ex. I want to create constant newOrderState = 5 and then use it from any module.

P.S. Sorry - create this thread in wrong section. Move it to b4a pls.
 

keirS

Well-Known Member
Licensed User
Longtime User
Add a new code module and define your constants as Public const in the new module. Then you ran refer to them by the modulename.constantname in any module.
 
Upvote 0
Top