[fpc-pascal] Adding method dynamically to a class
LacaK
lacak at zoznam.sk
Wed Jun 20 07:33:27 CEST 2012
Class helpers would not help ?
http://wiki.freepascal.org/Helper_types
-Laco.
>
>
>
> Hello,
>
> Is there a way to tell in run-time that a specific
> function/procedure should belong to a class ?
>
> For example, let's say I have the following class:
>
> Type
> TTest = class
> procedure Foo;
> end;
>
> And I have also:
>
> procedure Bar;
> ...
> end;
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20120620/e7e5c1c6/attachment.html>
More information about the fpc-pascal
mailing list