Hi,
For example if I have file1.tcl and file2.tcl
file1.tcl
----------
global flag
set flag 0
file2.tcl:
----------
Here i need to use the value of flag that is present in file1.tcl.
My obejctive is to read the value of a variable present in file1.tcl from file2.tcl.
Can anyone help me with small code snippet to achieve the same.
Thanks in advance.
For example if I have file1.tcl and file2.tcl
file1.tcl
----------
global flag
set flag 0
file2.tcl:
----------
Here i need to use the value of flag that is present in file1.tcl.
My obejctive is to read the value of a variable present in file1.tcl from file2.tcl.
Can anyone help me with small code snippet to achieve the same.
Thanks in advance.