Two Activity modules with process_globals of the same name...
Are they actually Activity_Mod_A.act_stat and Activity_Mod_B.act_stat or are they in fact just one instance of a global called act_stat throughout the app?
Just a tad confused...
Thanks
Are they actually Activity_Mod_A.act_stat and Activity_Mod_B.act_stat or are they in fact just one instance of a global called act_stat throughout the app?
Just a tad confused...
Thanks
B4X:
Activity_Mod_A
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
Dim logact As String
Dim act_stat As Int
Dim InLogAction As Boolean : InLogAction = False
Dim acttimelog As Timer
Dim MakeLRec As Boolean
End Sub
Activity_Mod_B
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
Dim logact As String
Dim act_stat As Int
Dim InLogAction As Boolean : InLogAction = False
Dim acttimelog As Timer
Dim MakeLRec As Boolean
End Sub