In Main Globals I setup a few of them...Globals
But when I change their value within a module, the values are NOT updated...
I was under the impression that Globals were shared by all modules...
Is this a bug ?
If Not, is there any workaraound without using the return KeyWord?
Just a question, did you declare the variables as Public ?
And if you use them in another module the variable name must have the module name at the beginning seperated by a dot.
If you declare a variable in the Main module like
Public TestVariable
its name is
Main.TextVariable
in the other modules.
The same rule is valid for Subroutines and Controls.
according to Erels description (...next-version-new-features...) every module has (per default) its own global variables. If you want to use some or all of them within all modules you have to define them as public and access them in connection with the module prefix.
specci48
edit: ups ... this answer was too slow for Klaus... ;-)