[fpc-devel] += with properties
Michael Schnell
mschnell at lumino.de
Wed Jan 12 12:24:24 CET 2011
+= 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, disregarding what x.a
is. Of course an error message will occur if x.a is not writable for any
reason.
Thanks,
-Michael
More information about the fpc-devel
mailing list