Update a global variable value when global variable is value of parameter.
Using FMPro11 Advanced. This might be a bit over my own head, but I'm trying to update a global value.
I'll make is simple. $$gv1 = "N" and I want to change it to "Y".
However, I have a number of these variables that I want to manage, so I don't want to write it over and over again, I just want call a script or custom function, and pass a parameter to update it.
Here's where the complexity comes in (or my ineptitude). I want to have the parameter that is passed be generic as well. Such that the value of the generic passed item is the global value name "$$gv1", so I can turn global variables on and off with only one script of function
To summarize a different way, the local variable value is the name of the global variable, and I want to change the value of the global variable.
Thanks in advance all.