[fpc-devel] Include() and Exclude() with read-only property

Micha Nelissen micha at neli.hopto.org
Mon Dec 10 09:38:41 CET 2007


Graeme Geldenhuys wrote:
> I received a bug report today.  I was able to set a read-only property
> under Linux and Windows without any issues - I didn't notice the
> property was read-only!  The bug report mentions that an compiler

Include needs a var parameter, i.e. it needs to be able to take address 
of the expression you supply as first param. ComponentState is a 
property, and you can't take the address of a property -> error.

HTH,

Micha



More information about the fpc-devel mailing list