<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Jul 17, 2015 at 11:30 AM, Graeme Geldenhuys <span dir="ltr"><<a href="mailto:mailinglists@geldenhuys.co.uk" target="_blank">mailinglists@geldenhuys.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On 2015-07-17 15:13, silvioprog wrote:<br>
> I need to call a method dynamically by its name over string and pass some<br>
> parameters to it.<br>
<br>
</span>You mean like what FPCUnit, DUnit or FPTest unit testing frameworks do?<br>
If so, just take a look at any of them to see how they call the test<br>
methods.<br>
<br>
Regards,<br>
- Graeme -</blockquote></div><div class="gmail_extra"><br></div>I know how FPCUnit does, but AFAIK it don't pass parameters for the triggered methods. =/</div><div class="gmail_extra"><br></div><div class="gmail_extra">About DUnit, instead of take a loot at its code, I just use the System.Rtti.Invoke() feature.<br clear="all"><div><br></div>-- <br><div class="gmail_signature">Silvio Clécio<br>My public projects - <a href="http://github.com/silvioprog" target="_blank">github.com/silvioprog</a></div>
</div></div>