[fpc-pascal] Invoking methods through rtti

Mazo Winst mazofeifer at gmail.com
Mon May 9 19:42:24 CEST 2016


Em segunda-feira, 9 de maio de 2016, Graeme Geldenhuys <
mailinglists at geldenhuys.co.uk> escreveu:
> On 2016-05-09 16:22, Mazo Winst wrote:
>> Is there any way to invoke a method passing parameters through rtti?
>
> Yes, it should be possible. Take a look at the FPCUnit (unit testing
> framework) included with FPC. The testing framework invokes methods and
> passes parameters around.
>
> Regards,
>   Graeme

Does the framework knows the method signature at compile time?

I will take a look. Thanks for the tip.

Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160509/36e952af/attachment.html>


More information about the fpc-pascal mailing list