B B4JExplorer Active Member Licensed User Longtime User Sep 15, 2016 #1 Hi, What are the options for calling a function, aside from just calling the function itself with parentheses and parameters? E.g., is there anything like a CallByName( <ClassName> <MethodName>, ... )? Is there a way to call a function via a variable that contains the function name, something like FunctionName = "ThisFunction", Call &FunctionName?
Hi, What are the options for calling a function, aside from just calling the function itself with parentheses and parameters? E.g., is there anything like a CallByName( <ClassName> <MethodName>, ... )? Is there a way to call a function via a variable that contains the function name, something like FunctionName = "ThisFunction", Call &FunctionName?
Erel B4X founder Staff member Licensed User Longtime User Sep 15, 2016 #2 Yes. Search for CallSub, CallSubDelayed or CallSubPlus. Upvote 0
B B4JExplorer Active Member Licensed User Longtime User Sep 15, 2016 #3 Erel said: Yes. Search for CallSub, CallSubDelayed or CallSubPlus. Click to expand... So that's B4J, as well? Ok, thanks Erel. Upvote 0
Erel said: Yes. Search for CallSub, CallSubDelayed or CallSubPlus. Click to expand... So that's B4J, as well? Ok, thanks Erel.