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 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal