[fpc-pascal] Adding method dynamically to a class

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Jun 19 14:48:33 CEST 2012


michael.vancanneyt wrote on Tue, 19 Jun 2012:

> As far as I know there is no language structure for this, unless the  
> objective C classes support offers this.

You can indeed do that in Objective-C/Pascal, but
a) that's not via a language construct, but by directly interacting  
with the runtime via helpers from libobjc (both in Objective-C and in  
Objective-Pascal)
b) FPC only supports Objective-Pascal on Mac OS X/iOS at this time


Jonas



More information about the fpc-pascal mailing list