[fpc-pascal] FPC's behavior regarding new TObject methods

Sven Barth pascaldragon at googlemail.com
Sat Nov 13 14:35:55 CET 2010

On 13.11.2010 14:26, Paul Ishenin wrote:
> 13.11.2010 20:19, Sven Barth wrote:
>> TTestObject = class
>> public
>> function ToString: String;
>> function Equals(aObject: TObject): Boolean;
>> end;
> You are just redeclaring the method. Try to add ToString property or
> declare a ToString argument in some method and you should get an error.

Ahhhh... that explains it. In that case I've misunderstood the wiki entry ^^

Thanks for explaining.


More information about the fpc-pascal mailing list