Jason A.
Tucson, AZ
May 16, 2019
2
Posts
Re: Variable scope for Program level .prg files
Are Program (.prg) level variables considered global? ATEasy Help page "Variable Naming Conventions" states: use the g_ prefix for global variables; global shows up with a qualifier "Global (for public variables)" At the Program level scope, variables can't be declared as public. In the Examples.wsp out of the dozems and dozens of projects that declare Program variables, I only found one with the g_ prefix and the usage of that variable seemed to be the same for all of the rest; which was that the variables are used in Tests. For example look at the Language.prg variables, none of them use the additional g_ type modifier.
File Attachment:
Global.PNG