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

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Jul 30 20:24:04 CEST 2013


On Tue, 30 Jul 2013 20:12:29 +0200
Sven Barth <pascaldragon at googlemail.com> wrote:

> On 30.07.2013 18:16, Marco van de Voort wrote:
>[...]
> 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.

That's not entirely true. For example "a:=a+b" is allowed for
properties, while "a+=b" is not allowed for properties.

Mattias




More information about the fpc-pascal mailing list