Ask a Question

Accessing script variables from other scripts

MarkCrossland
New Contributor

Accessing script variables from other scripts

I have 2 scripts in my project (well, actually, I have about 30, but 2 will do as an example) called "script1" and "script2", both of which are vbscript. I make extensive use of project variables, but in this instance have a need to declare a global variable in script1 and be able to access it from other scripts.



So, if I declare my global varable in script1, will I be able to access that global variable from script2?
1 REPLY 1
AlexanderM
Staff


Hi Mark,





To learn how to do this, please see the Calling Routines and Variables Declared in Another Unit help topic.
-----

Alexander
Customer Care Manager
cancel
Showing results for 
Search instead for 
Did you mean: