[Lazarus] Compare record

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Mar 11 10:31:59 CET 2015


On Wed, 11 Mar 2015 10:02:36 +0100
Michael Schnell <mschnell at lumino.de> wrote:

> On 03/11/2015 08:57 AM, aradeonas wrote:
> >
> >
> > operator = (aLeft, aRight: TRec): Boolean;
> 
> I get "Logical Operator not supported".

As Sven wrote:
"Alternatively you can declare the operator inside TRec if you enable 
modeswitch advancedrecords"

It means:
{$modeswitch advancedrecords}

Mattias




More information about the Lazarus mailing list