[fpc-pascal] Adding method dynamically to a class
idokan at gmail.com
Tue Jun 19 14:22:22 CEST 2012
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:
TTest = class
And I have also:
Is there a way to make at some point of my code execution, that Bar will be
a method of TTest ?
Or maybe for a specific instance of TTest ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal