[fpc-pascal] Re: ++ and --

Sven Barth pascaldragon at googlemail.com
Tue Jul 30 20:12:29 CEST 2013


On 30.07.2013 18:16, Marco van de Voort wrote:
> In our previous episode, leledumbo said:
>> If you dig in the mailing list a while ago, there's a fact revealed there.
>> The C style operator was actually a 3rd party contribution, not the initial
>> feature design.
>
> And mostly accepted for easy conversion purposes, not to write new code.

Also +=, etc are not true operators in FPC like they are in e.g. C++, 
but they are internally translated to "a := a + b", etc. So potential 
sideeffects need to be remembered here.

Regards,
Sven




More information about the fpc-pascal mailing list