04-07-2011, 02:26 PM
Hi All,
I am facing an issue in my script.Actually i have a function which is common in few scripts. In which i am assigning values in an array.
In a script the value of this array from this function has to be used in another funstion in the same script. But i am enable to implement this as this array becomes local to the function so it's value can not be used in another function.
That's why i want to make this array as a global array(variable).o that value from one function can be used in another function in same script.
And for this i am thiniking to make this array a an environment variable.
But i donn know how to make it as environment variable and then save any value in an envirionment array variable...
Please help me out to resolve this problem..
Thanks,
I am facing an issue in my script.Actually i have a function which is common in few scripts. In which i am assigning values in an array.
In a script the value of this array from this function has to be used in another funstion in the same script. But i am enable to implement this as this array becomes local to the function so it's value can not be used in another function.
That's why i want to make this array as a global array(variable).o that value from one function can be used in another function in same script.
And for this i am thiniking to make this array a an environment variable.
But i donn know how to make it as environment variable and then save any value in an envirionment array variable...
Please help me out to resolve this problem..
Thanks,