[fpc-devel] Operator overloading and {$mode delphi}

Michael Van Canneyt michael at freepascal.org
Sun Apr 14 08:26:42 CEST 2019



On Sun, 14 Apr 2019, Sven Barth via fpc-devel wrote:

> On 4/13/19 11:28 PM, Bart wrote:
>> Hi,
>> 
>> What am I missing?
>> 
>
> In mode Delphi you need to use the names Delphi uses for the operators:
> http://docwiki.embarcadero.com/RADStudio/Rio/en/Operator_Overloading_(Delphi)
>
> Maybe we should mention that in the documentation...

I added a table with the delphi operator names, mentioned that they can be
used in operator definitions, but that they must be used in Delphi mode.

Michael.



More information about the fpc-devel mailing list