[fpc-pascal] Questions About Constructors

African Wild Dog paintedlycaon at gmail.com
Thu Mar 30 08:47:59 CEST 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20170330/89049025/attachment.html>


More information about the fpc-pascal mailing list