On Wed, Jul 16, 2008 at 4:29 PM, Marco van de Voort <[EMAIL PROTECTED]> wrote: >> After our discussion about not being able to use Include() with a >> class property, I thought I would then use the C Style += operator. >> After all that boils down to: i += 2; >>>>> i := i + 2; > > Suspect that it gets translated to inc(i,2); not i:=i+2; and then it makes > sense again, for the same reasons as before.
Following on my previous post... If it translates to inc(i,2) then why is the error message different to the Include() issue? Error: Variable identifier expected vs Error: Can't take the address of constant expressions 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