[fpc-pascal] Class constructor called unconditionally
Michael Van Canneyt
michael at freepascal.org
Thu Mar 31 18:18:35 CEST 2016
On Thu, 31 Mar 2016, Maciej Izak wrote:
> 2016-03-31 17:06 GMT+02:00 Michael Van Canneyt <michael at freepascal.org>:
>
>> I imagine so, yes.
>>
>> It is one of the reasons why I don't really see the usefulness of this
>> construct, except that it looks OOP-ish.
>>
>>
> It is mostly for initialization "class var" related stuff inside records
> and classes. Very usefully especially with generics.
Ahhhhh.. Damn generics, pain in the **** :)
Michael.
More information about the fpc-pascal
mailing list