I have a question, should the variables declared under Process_Globals not be available to all modules? My understanding is that they should be. I can declare them and try to access them from a code module and get a variable undefined error. Is this normal? Are the Docs wrong or am I missing something. See Example:
This generates a variable undefined error. Based on what I've seen, this seems wrong that it should through an error.:sign0163:
Thanks,
Margret
B4X:
'MAIN Activity
Sub Process_Globals
Dim MyStr As String
MyStr = "Process Variable"
End Sub
'Code Module MySubs
Sub MessBox
MsgBox(MyStr, "")
End Sub
This generates a variable undefined error. Based on what I've seen, this seems wrong that it should through an error.:sign0163:
Thanks,
Margret