Every field is set to nil or 0 at the time of object construction. You don't have to set it to nil explicitly.
thanks, Dmitry On Mon, Jan 21, 2013 at 9:54 PM, xrfang <[email protected]> wrote: > Hi, > > If I define a class like this: > > TMyClass = class(TWinControl) > private > FOnClick: TNotifyEvent; > ... > end; > > What is the initial value of FOnClick? Do I have to set it to nil > explicitly in the constructor? > > Thanks, > Shannon > > -- > _______________________________________________ > Lazarus mailing list > [email protected] > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
