Call
Script
Function call
1.0 OC4.0 OC
any
string or function
function
Function to be called.
any
...
Parameters of the function.
Calls the specified function. If given a string, the function is looked up in the context object (this
). For example, obj->Call("Foo")
is the same as obj->Foo()
. Using Call like this is primarily useful when the name of the function can vary. If "~" is prepended to the function name then the call does not fail if the function does not exist.
GameCall
eval
jwk2002-04
Günther2012