[fpc-pascal] Compiler error passing a Property as a parameter

Michael Schnell mschnell at lumino.de
Tue Jun 10 09:24:28 CEST 2014


On 06/08/2014 09:50 PM, Graeme Geldenhuys wrote:
>   You can't pass them directly as a var parameter,

I feel that generally passing a property as a var parameter is not 
possible,

It could be possible for built-in functions (such as inc() ) or for 
properties that don't have a set or get function.

Of course the compiler could detect these special cases. I don't know if 
it does make sense to handle them.

-Michael



More information about the fpc-pascal mailing list