Forum Discussion
HKosova
10 years agoSmartBear Alumni (Retired)
Assuming
Log.Message("03. Global value of 'myGlobalVariable': " + loginArray);
// should be myGlobalVariable
is just a typo, your code works fine:
Nothing in this example would cause the error you're describing. Is this the actual code you're using? Do you use unique names for script units, functions and variables?
- obaid_shirwani10 years agoContributor
Thank you for the response Helen.
Yes, it was a type.
Yes, I use unique names all out (Functions signatures / file names / variables etc)
Executing the function: 'useGlobalVariablesFunction' is throwing an error for me.
- obaid_shirwani10 years agoContributor
Issue resolved. It was a typo error :( my bad
- HKosova10 years agoSmartBear Alumni (Retired)
No problem, glad you got it resolved. :smileyhappy: