I can’t figure this out.
I’m trying to set a GLOBAL variable.
ConfimIndex = 1
I want to be able to read ConfirmIndex from anywhere in the program(all screens)
I have tried system.util.getGlobal()[ConfirmIndex] = 1
But come back with a script error says
ConfirmIndex has not been defined.
Can anyone help?
Can you just create a memory tag and reference that?
If you put the variable in project startup scripts and access them with full path (e.g. project.NewScript.blahblah ) it should work!
ConfirmIndex is treated as a variable without the qoutes.
Thanks everyone, I like the Idea of using a memory tag, but I will play with the other ways also.
I’m still learning so all help is greatly appreciated.