[JSL] Recover variable value from another script<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />Hello !
In my first Script i defined a variable ... I would like now to recover this variable in my second Script :
How can i do ?
this example show my problem:
First Script :
Variable = 1 ;
Include("C:\Second Script.jsl");
Second Script :
If( Variable ==1, Data Table ... )
Thanks for your help !
Re: [JSL] Recover variable value from another scriptMerci beaucoup !
Re: [JSL] Recover variable value from another scriptIf you aren't using namespaces or "names default to here(1)" then all variables will be global.
If you are using namespaces or names default to here(1), then if you preface the variable with two colons it will be treated as a global variable.
First Script :
::Variable = 1 ;
Include("C:\Second Script.jsl");
Second Script :
If( ::Variable ==1, Data Table ... )