Y
Ying
I'm having trouble using module-level variables.
If I define a variable as public in the Declaration
section of a module, (supposedly) once I initiate it in
one procedure, I should be able to use it in other
procedures in the project.
What I've been experiecing is that after I run the
procedure that initiates the module-level variable, and
try to run another procedure that calls for that variable,
I don't always get the initiated value for that variable,
especially when I have to stop or debug the procedure that
calls for the variable. Can anyone give me some insights?
Thanks very much!
If I define a variable as public in the Declaration
section of a module, (supposedly) once I initiate it in
one procedure, I should be able to use it in other
procedures in the project.
What I've been experiecing is that after I run the
procedure that initiates the module-level variable, and
try to run another procedure that calls for that variable,
I don't always get the initiated value for that variable,
especially when I have to stop or debug the procedure that
calls for the variable. Can anyone give me some insights?
Thanks very much!