[fpc-pascal] operator := in mode delphi?

Martin Frb lazarus at mfriebe.de
Wed Oct 25 21:37:59 CEST 2023


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 at 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 at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20231025/b6aac1f0/attachment.htm>


More information about the fpc-pascal mailing list