06-17-2010, 10:11 AM
It should be working, I will take the same example again
in main script (Test2) define TestPublic as 'TestPublic =1'
in test1 add statement 'TestPublic =TestPublic +1' after message box
create a new test add statement , msgbox TestPublic.
add library as resource
call this in your main script and run
you will get the desired result, from the first action it will return 1 and from second will return 2 after incrementing it.
in main script (Test2) define TestPublic as 'TestPublic =1'
in test1 add statement 'TestPublic =TestPublic +1' after message box
create a new test add statement , msgbox TestPublic.
add library as resource
call this in your main script and run
you will get the desired result, from the first action it will return 1 and from second will return 2 after incrementing it.