B4J Question Module variable?


Active Member
Licensed User

I have a stupid question, but I cannot find a straight anwser with the search function on the forum:
Is it possible to declare module variables that are only visible within that module, so not via Process_Globals?

I tried sub names as Globals, Module_Globals etc, but those do not seem to exist.

Thanks a lot for any guidance!


Well-Known Member
Licensed User
Longtime User
visible is only CodeModule.PublicThing here

'Static code module
Sub Process_Globals
    Private fx As JFX
    Private PrivateThing As Int
    Public PublicThing As Int
End Sub
Upvote 0