jtseltmann
Programmer
Just a quick question...trying to understand why someone used "global" instead of "public" to declare a public var...
I have a var declared as public in a standard module/declarations section...that means this variable should be visible throughout all modules (even a form's module) correct? I just want to be sure I can reference it from any sub/function or event etc.
I did a quick search and it seems global is an older term. Wondering if I can replace that with Public without causing problems. I want to be sure global wasn't used for a reason..and I couldn't find one.
Thanks!
I have a var declared as public in a standard module/declarations section...that means this variable should be visible throughout all modules (even a form's module) correct? I just want to be sure I can reference it from any sub/function or event etc.
I did a quick search and it seems global is an older term. Wondering if I can replace that with Public without causing problems. I want to be sure global wasn't used for a reason..and I couldn't find one.
Thanks!