Am 31.03.2017 19:27 schrieb "African Wild Dog" :
>
> 2017-03-30 4:25 GMT-03:00 Michael Van Canneyt :
>>
>>
>>
>> On Thu, 30 Mar 2017, African Wild Dog wrote:
>>
>>> Hello,
>>>
>>> 1 - What happens if my constructor raise an exception? Is my destructor
>>> automatically called?
>>
>>
>> Yes.
>>
>>>
2017-03-30 4:25 GMT-03:00 Michael Van Canneyt :
>
>
> On Thu, 30 Mar 2017, African Wild Dog wrote:
>
> Hello,
>>
>> 1 - What happens if my constructor raise an exception? Is my destructor
>> automatically called?
>>
>
> Yes.
>
>
>> 2 - Are the class fields automatically initialized to Default(T) j
On Thu, 30 Mar 2017, African Wild Dog wrote:
Hello,
1 - What happens if my constructor raise an exception? Is my destructor
automatically called?
Yes.
2 - Are the class fields automatically initialized to Default(T) just like
in Delphi?
Yes. The're zeroed out when the memory for the cl
On Thu, 30 Mar 2017 03:47:59 -0300
African Wild Dog wrote:
> Hello,
>
> 1 - What happens if my constructor raise an exception? Is my destructor
> automatically called?
Yes.
> 2 - Are the class fields automatically initialized to Default(T) just like
> in Delphi?
They are all initialized. I'm
Hello,
1 - What happens if my constructor raise an exception? Is my destructor
automatically called?
2 - Are the class fields automatically initialized to Default(T) just like
in Delphi?
Regards
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.