Hi,
I have defined three modules - one main ,one for display and one for code.
In the main I define all my memory resident data in the Process Global section and I initialize this data.
As I understand it , that global data is available to all modules including my code module.
Just to test this I created a small sub in my code module that used some of the variables defined in my Main routine in the Process Global section of the Main module.
When I tried to compile the code I got errors in the code modules that these variables are undeclared.
I thought that once I defined and declared a variable in Process Global then that variable would be available to all my modules.
What am I doing wrong?
Thanks Jerry
I have defined three modules - one main ,one for display and one for code.
In the main I define all my memory resident data in the Process Global section and I initialize this data.
As I understand it , that global data is available to all modules including my code module.
Just to test this I created a small sub in my code module that used some of the variables defined in my Main routine in the Process Global section of the Main module.
When I tried to compile the code I got errors in the code modules that these variables are undeclared.
I thought that once I defined and declared a variable in Process Global then that variable would be available to all my modules.
What am I doing wrong?
Thanks Jerry