Hi,
I’m a novice at programming so this one goes out to all the gurus.
I have a script that logs the test case numbers in a file (below)
Can i open the file, VFSSResults, for readwrite at the beginning of the first script and leave it open while subsequent scripts write to the file then, close it at the end of the last script?
Also, are global variables accessible from other scripts or are they just valid within the script they are written?
Thanks in advance,
Pete
global VFSSResults
put “~/Documents/VFSSResults.txt” into VFSSResults
open file VFSSResults for readwrite
write “Test case 4830 has passed.” & return & “This is part of the script named CreateAccSysError2” & return to file “~/Documents/VFSSResults.txt” at eof
close file VFSSResults