In our previous episode, Mattias Gaertner said: > > 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.
I think Sven meant that a is only evaluated once. (in case it is an expression). Not that it operates on all types. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal