If I understand Gary correctly, he wants a function that will take as an argument the name of a variable in String form and return the value of that variable. My response in post #6 does that. An example usage:
Code:
Sub Process_Globals
Dim aBc as Int = 12
End Sub
Sub Activity_Resume
Log("value of aBc: " & GetVariableValueJO(Me, "aBc"))
End Sub