This is a simple example:
Dim XYZ as My_Class
Dim XYZ_InterestingValue as Int
XYZ_InterestingValue = 999
I want the Class to be able to look up the value Main.XYZ_InterestingValue
When the Class is initialized I know the name is XYZ but I don't know how to compound the two known pieces together.
Inside the class I want to be able to do something like
Dim I as Int
I = EventName & "_InterestingValue" 'where the EventName is XYZ
Now I would be 999
Any suggestions appreciated.
Dim XYZ as My_Class
Dim XYZ_InterestingValue as Int
XYZ_InterestingValue = 999
I want the Class to be able to look up the value Main.XYZ_InterestingValue
When the Class is initialized I know the name is XYZ but I don't know how to compound the two known pieces together.
Inside the class I want to be able to do something like
Dim I as Int
I = EventName & "_InterestingValue" 'where the EventName is XYZ
Now I would be 999
Any suggestions appreciated.