Forum Discussion
tttest2
2 years agoCommunity Member
Adjusting Trigger objects and variable with other triggers
I want to be able to change the name of an object or variable being invoked for a trigger by changing the reference in a second trigger.
WaltHamilton
2 years agoSuper Hero
Do you mean something like "Change value of [variable named in variable chosenObject] to "brown" where chosenObject can contain either cow or horse? Programmers have been wanting to do that since the 1950's. I'm unaware of any language known to man that can do that with one statement.
Try something like "Change value of variable Cow to "brown" if value of chosenObject = "cow", else change value of variable horse to "brown" if value of chosenObject = "horse"? Two statements, but it can work.