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

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Sun Jun 8 21:50:57 CEST 2014


I think it was FPC 2.6.0 that changed the language rules about
Properties. You can't pass them directly as a var parameter, can't
assign to a property of a property etc.

Anyway, somebody recently asked my why this was implemented, and I can't
actually remember the exact rational behind the FPC team's decision.

Does anybody have a link to the documentation or FPC discussion on this?
I'm looking for info on what was so bad about the old behaviour etc. and
if this was another Delphi compatibility change or not?

I want to pass this information on, but want to make sure I get it right.

  - Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

More information about the fpc-pascal mailing list