[fpc-devel] The usage of Include() doesn't work any more in 2.3.1
Jonas Maebe
jonas.maebe at elis.ugent.be
Wed Jul 16 14:43:32 CEST 2008
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
More information about the fpc-devel
mailing list