Variables in Global Name
I have a number of globals I want to loop through depending on a passed in string...
^A("SYSTEM")
^B("SYSTEM")
^C("SYSTEM")
^D("SYSTEM")
^E("SYSTEM")
I am passing in a string of "A:C:D"
Piecing that to pull out A,C,D, then want to use that to pull out A,C,D from above, but having problems setting the name of the global to be the name of the variable I have pulled out of the string
How do I set this?
I have tried ^varname("SYSTEM")
also tried setting a variable to have the value "^varname" and using that
Thanks