Ryan Joseph <generic...@gmail.com> schrieb am Mi., 14. Aug. 2019, 18:04:

>
>
> > On Aug 14, 2019, at 11:52 AM, Joost van der Sluis <jo...@cnoc.nl> wrote:
> >
> > Roflol... yeah... people do not use Pascal because they have to type:
> > i := i + 1;
> >
> > Sure.
>
> I’m once again shocked that anyone would be against such syntaxes as += so
> maybe the compiler needs to put them behind a modeswitch. Given what Sven
> said I’m surprised they didn’t do this from the start. Even “out” is behind
> a mode switch after all.
>

They already are, but not a modeswitch, but a directive: {$COperators
On/Off}. Probably from a time before modeswitches were introduced.
It's even per default off. The default fpc.cfg however enables them...

And "out" is behind a modeswitch because modes like TP and ISO don't know
that concept.

Regards,
Sven

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

Reply via email to