[haXe] Reflect.callMethod()

Nicolas Cannasse ncannasse at motion-twin.com
Sun Apr 9 10:34:39 CEST 2006


> Just to practice with haXe I'm doing some tests and I need some
> clarifications about Reflect.callMethod().
> The parameters are: the object on which I want to execute a method, the
> method name as a string and the optional arguments ... right?

Not right :)

The parameters are : the object, the function *itself* and the
arguments. That means in particular that you don't need the method to be
part of the object prototype.

Nicolas



More information about the Haxe mailing list