Martin Frb via fpc-pascal <fpc-pascal@lists.freepascal.org> schrieb am Mi., 25. Okt. 2023, 21:38:
> 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 > Correct. Delphi does not support global operator overloads and not every feature that is available in FPC is made available in mode Delphi the main purpose of which is to compile Delphi code after all. Regards, Sven 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.orghttps://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 >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal