[fpc-pascal] Constant members within class

Christos Chryssochoidis c.chryssochoidis at gmail.com
Wed May 30 21:21:55 CEST 2007


Is there a way to define const members for a class, as for example in

TClass = class
       const i : integer;    // and hopping to be able to set it within 
the constructor…

Thank you in advance

More information about the fpc-pascal mailing list