<p>Am 05.02.2017 15:04 schrieb "Ryan Joseph" <<a href="mailto:ryan@thealchemistguild.com">ryan@thealchemistguild.com</a>>:<br>
><br>
> I never knew Pascal had default parameters, a feature I always use and enjoy in PHP. Once again I learn something new about the language I use. :)</p>
<p>I suggest you to read through the language reference guide then ;)</p>
<p>> However, the constructor with default params does not work. I get the same error as before. {$modeswitch advancedrecords} is on.</p>
<p>Oh, well, it was worth a shot... Alternatively you could declare a class function named Create that returns an instance of the record. Even Delphi is using that for Rtti.TRttiContext.</p>
<p>Regards,<br>
Sven</p>