Call("FuncName" [, Param1 [, Param2, .. [, ParamN]]]) Call "FuncName" [ Param1 [ Param2 .. [ ParamN]]]
Calls other functions by name given by string.
Parameters
FuncName | The name of the function to call. |
Param | Parameters of the function to call. |
Return value
The value returned by the function whose name is given by the first parameter (in functional notation only).
Example
a = "MsgBox" Call(a, "Text", "Title")
Notes
Use this function only if you need to call a function or command whose name must be passed in a variable (i.e., at the stage of writing the script, it is not defined which function will need to be run). In other cases, a direct function call is preferable.