On 03/11/2015 10:31 AM, Mattias Gaertner wrote:
"Alternatively you can declare the operator inside TRec if you enable modeswitch advancedrecords" It means: {$modeswitch advancedrecords}
Nice ! (I tested this but forgot the mode switch ;) )
Why is this mode not the default ? -Michael -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus