On 16 Jul 2008, at 11:58, Graeme Geldenhuys wrote:
OK, I understand you point over the long term. So would the following still be okay? set += [member]; Not that I ever use the C style operators like '+=', but it does act as nice shorthand for code - replacing the need for Include().
It should work fine, as x+=y is really just a notation shorthand for x:=x+y and is not treated specially in any way by the compiler afaik.
BTW: Is C style operator '+=' available by default in compiler mode objfpc? Or must I explicitly add -Sc ?
You have to use -Sc. Jonas _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel