Note: CALL_METHOD can also be used as a function or a procedure.
Although not as flexible as the EXECUTE function, CALL_METHOD is much faster. Therefore, CALL_METHOD should be used in preference to EXECUTE whenever possible.
Result = CALL_METHOD(Name, ObjRef, [, P1, ..., Pn])
CALL_METHOD, Name, ObjRef, [, P1, ..., Pn]
Returns the results generated by the named function method when applicable.
A string containing the name of the method to be called. This argument can be a variable, which allows the called method to be determined at runtime.
A scalar object reference that will be passed to the method as the Self argument.
The arguments to be passed to the method given by Name. These arguments are the positional and keyword arguments documented for the called method, and are passed to the called method exactly as if it had been called directly.
This page has no comments yet. Be the first one!