Not sure what you mean by occurring before and after. However, you could pass the name of the method and then execute it using $ClassMethod within MethodA()
Something like:
Do ..MethodA("Method1","var","Method2",0)
MethodA {method1, arg1, method2, arg2) {
Do $classmethod($classname(),method1,arg1)
Do $classmethod($classname(),method2,arg2)
}
But again, I am not entirely sure what you want to accomplish here....
- Log in to post comments