Hi,
I have AAA class and bbb method inside it. I also have a str variable x = 'bbb'. How can I run this method using only x value? Is there something like AAA::methodNameFromString(x) in ax?
Hi,
I have AAA class and bbb method inside it. I also have a str variable x = 'bbb'. How can I run this method using only x value? Is there something like AAA::methodNameFromString(x) in ax?
That's exactly what I need. Thank you!
Hi Patryk,
You can use DictClass class to call method dynamically
daxdude.blogspot.com/.../run-static-method-through-x-code.html
axcalated.blogspot.com/.../calling-method-dynamically-through.html
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156