[fpc-pascal] Assigning class method to procedure of object via class name in delphi mode

Anthony Walter sysrpl at gmail.com
Mon Jan 25 21:40:20 CET 2010


No, the assignment shouldn't be allowed. The assignment to procedure of
object should only be allowed from instances.

SizeOf(TNotifyProc) = SizeOf(Pointer) * 2

See also: the TMethod record
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20100125/599fabd4/attachment.html>


More information about the fpc-pascal mailing list