[fpc-devel] += with properties

Hans-Peter Diettrich DrDiettrich1 at aol.com
Thu Jan 13 02:25:18 CET 2011


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




More information about the fpc-devel mailing list