I have a following scenario:
There are 3 script files file1.script, file2.script & file3.script
The file3.script is:
- file1 loads file2 in background by “start using “file2.script”” command
- file2 loads file3 in background by “start using “file3.script”” command
- file1 calls a function f1 which is defined in file2.
- One of the commands in function f1 of file 2 sets the “property test1” in file3 to a list as:
put (1,2) into file3.test1
Now when I print the value of property test1 in file3 from file 2 by giving the command:
I get the correct value (1,2)
but when I give the same command from file1 I get an empty response.
In the above scenario, I need to use item 1 of list (1,2) to be passed as input parameter to another function in file3.
Thanks in advance.