On Tue, 7 Feb 2017, Maciej Izak wrote:

I don't see why these calls require static instead of normal.


In other scenario (for normal "property") this call will raise AV.

btw. "class property" is probably slightly faster ;) because don't pass
"self" parameter.

In other words, there is no real reason why the method must be static.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to