[fpc-pascal] parent class as a parameter type

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Tue Nov 15 10:18:45 CET 2011


On Tue, Nov 15, 2011 at 10:10 AM, Bart <bartjunk64 at gmail.com> wrote:
> That would be strange indeed, because then most events (onclick
> handlers etc) would not compile anymore, since they are in the format
> procedure(Sender: TObject) of object...

It is not like that, he forgot adding var or out to the parameter. The
example which you are mentioning has no var.

-- 
Felipe Monteiro de Carvalho



More information about the fpc-pascal mailing list