Re: [fpc-pascal] Multiple inheritance is more powerful than Pascal's interfaces ?

2008-01-25 Thread Andrey Gusev
* Matt Emson [EMAIL PROTECTED] [Fri, 25 Jan 2008 10:03:59 +]: Matt Emson translation, that is almost the same as in my attached trial: --- TObj = class protected fff: integer; end; TObj2 = class(TObj) protected fff2: integer; end; TIntf = interface

Re: [fpc-pascal] Multiple inheritance is more powerful than Pascal's interfaces ?

2008-01-25 Thread Matt Emson
Andrey Gusev wrote: This question was posted to fpc-other, yesterday, but seems wrongful, in subject appropriation sense to that maillist. === I wish to introduce some additional (and general) functional to an existing (and foreign) freepascal's unit. I wouldn't to introduce any my own

Re: [fpc-pascal] class constants

2008-01-25 Thread Peter Vreman
Regarding class constants: I missed them, too, already, although not too much. ;) Maybe you should read the documentation. Static fields are supported already for 10 years: ~/fpc/compiler cat p.pp {$mode objfpc} {$static on} type cl=class l : longint;static; end; var c1,c2 : cl;

Re: [fpc-pascal] class constants

2008-01-25 Thread Vinzent Hoefler
On Friday 25 January 2008 12:30, Peter Vreman wrote: Regarding class constants: I missed them, too, already, although not too much. ;) Maybe you should read the documentation. Static fields are supported already for 10 years: ~/fpc/compiler cat p.pp {$mode objfpc} {$static on} type