Reputation: 107
How can I store a macro name in a variable and then later use it?
For example:
Set myVariable = "AssertEquals"
Do $$$myVariable(...)
OR
Set myVariable = "$$$AssertEquals"
Do myVariable(...)
Thought I could do something like the following but that doesn't work either (I get CLASS DOES NOT EXIST).
Do $CLASSMETHOD("%UnitTest.TestCase","AssertEqualsViaMacro",....)
Upvotes: 0
Views: 149