[fpc-pascal] Parameterless constructors are not allowed in records or record/type helpers

Sven Barth pascaldragon at googlemail.com
Sun Feb 5 14:29:36 CET 2017


Am 05.02.2017 09:39 schrieb "Ryan Joseph" <ryan at thealchemistguild.com>:
>
>
> > On Feb 5, 2017, at 3:27 PM, Sven Barth <pascaldragon at googlemail.com>
wrote:
> >
> > constructor with a default parameter.
>
> How? never heard of this. Thanks.

See here at the bottom:
http://freepascal.org/docs-html/current/ref/refsu65.html#x176-19800014.4.1
(it's the same for any kind of routine: function, procedure, method,
constructor...)

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20170205/9902965c/attachment.html>


More information about the fpc-pascal mailing list