hello all,

Is it possible to use a variable for methods?

In the following example, add_two() and substract_two() are two methods, but I do not know which one will be called during coding.

======================
Set m_obj = AdvCreateObject("MyObject.myObject")

var_method = "add_two"
result = m_obj.var_method(11, 22) '??????

var_method = "substract_two"
result = m_obj.var_method(11, 22) '??????

======================


thanks!
_Zhining Zhang