Thanks, but that isn't the part of the answer I was looking for....

I was looking for a global operaton :=

That could be used for an array (rather than just record/class).

But according to the docs that I found that is not possible


On 24/10/2023 23:51, Sven Barth via fpc-pascal wrote:
Martin Frb via fpc-pascal <fpc-pascal@lists.freepascal.org> schrieb am Di., 24. Okt. 2023, 23:30:

    Is there a modeswitch to enable it?


    Because currently I am getting an error in mode delphi.


In mode Delphi it's called "Implicit" as Delphi does not support symbolic operator overloads.

Regards,
Sven


_______________________________________________
fpc-pascal maillist  -fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to