<div dir="ltr">Neat bit of trivia:<div><br></div><div>Multi line strings even work properly with Ryan's (Ryan Joseph that is) <a href="https://bugs.freepascal.org/view.php?id=35140">very-cool-but-not-yet-merged-to-trunk</a> generic constants patch.</div><div><br></div><div>With a build of FPC that includes both, you can do some really interesting stuff:</div><div><br></div><div>program FunWithCurrentlyUnofficialLanguageFeatures;<br><br>{$mode ObjFPC}<br>{$modeswitch AdvancedRecords}<br>{$modeswitch MultiLineStrings}<br><br>type<br>  generic Tripler<const S: String> = record<br>    const Result = S + S + S;<br>  end;<br><br>begin<br>  Write(<br>    specialize Tripler<`<br>      A<br>      B<br>      C<br>      D<br>    `>.Result<br>  );<br>end.<br></div><div><br></div><div>The above program printing, as you might expect:</div><div><br>      A<br>      B<br>      C<br>      D<br>    <br>      A<br>      B<br>      C<br>      D<br>    <br>      A<br>      B<br>      C<br>      D<br></div><div><br></div><div>Can't do that in Delphi!</div></div>