Michael Schnell schrieb:
+= does work for variables, even Strings.

AFAIR, there already has been a discussion about += and friends for properties.

In fact I don't see why the compiler not just generates "x.a := x.a + y" from "x.a += y" before doing any code generating,

This would result in the same error, because x.a is not an lval.

DoDi

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to