On Wed, Jul 16, 2008 at 2:43 PM, Jonas Maebe <[EMAIL PROTECTED]> 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.
You would have thought that, but surprise, surprise.... it doesn't!! WindowAttributes += [waStayOnTop]; Gives me the following error: Error: Variable identifier expected Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel