[fpc-pascal] Feature Announcement: Support for multiple active helpers per type
    Mattias Gaertner 
    nc-gaertnma at netcologne.de
       
    Fri May 10 22:21:33 CEST 2019
    
    
  
On Fri, 10 May 2019 21:56:56 +0200
Sven Barth via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
>[...]
> We are pleased to announce that Free Pascal now supports the usage of 
> multiple active helper types per extended type. This feature has been 
> developed by Ryan Joseph, so thank you very much Ryan.
Thanks Ryan!
 
>[...]
> program testA;
> 
> uses
>    test1, test2;
> 
> var
>    o: TObject;
> begin
>    Writeln(o.Func); // will print 2
> end.
> 
> program testB;
> 
> uses
>    test2, test1;
> 
> var
>    o: TObject;
> begin
>    Writeln(o.Func); // will print 1
> end.
Ehm, these two examples only demonstrates that the last helper wins.
They do not demonstrate multihelpers, do they?
Mattias
    
    
More information about the fpc-pascal
mailing list