Paul Ishenin schrieb:

You found some bug in the compiler. Property can only be declared inside a structure but compiler allowed to do this in a unit level.

AFAIK unit-properties are an intentional FPC extension over Delphi.

I already used it for debugging purposes, replacing global variables by properties and setting an breakpoint in the setter :-)

DoDi

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to