[Lazarus] OOP basics - 2

Kjow antispammoni at gmail.com
Wed Apr 14 15:33:49 CEST 2010


14.04.2010 19:09, Kjow wrote:
> procedure init(...; ...; var Form: TMainForm);
>    
You don't need to pass Form by reference (using 'var') since class 
instance is pointer. This is only required if you want to replaced 
passed Form argument by another class instance.

Best regards,
Paul Ishenin.




More information about the Lazarus mailing list