Skip to content

7. Recursion

Nicolas BOITEUX edited this page Nov 4, 2017 · 10 revisions

Object methods can use the reference of their own object via the usage of the special variable _self

It permits to transmit the object reference to an other object.

example of method of objet A wich transmit it owns object reference to another B object.

PUBLIC FUNCTION("","transmitObject") {

["checkThis", _self] call _boject;

};

Clone this wiki locally