On 28 Mar 2013, at 17:50, Benito van der Zander wrote:
>> What's the benefit?
> Same benefit as += to := ... +
>
> You do not need to rewrite/compute the left side
+= does *not* prevent re-evaluating the left side. It is internally translated
to "x:=x+y" and then evaluated like normal. So if "x" contains a function call
with side effects, these side effects are still triggered twice.
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal