<p>Am 29.05.2017 07:13 schrieb "Ryan Joseph" <<a href="mailto:ryan@thealchemistguild.com">ryan@thealchemistguild.com</a>>:<br>
><br>
><br>
> > On May 28, 2017, at 5:22 PM, Mark Morgan Lloyd <<a href="mailto:markMLl.fpc-pascal@telemetry.co.uk">markMLl.fpc-pascal@telemetry.co.uk</a>> wrote:<br>
> ><br>
> >> IMO though it does improve readability in long functions with lots of<br>
> >> parameters, like windows api style procedures that have 5 or more<br>
> >> parameters and you can't figure out which param is<br>
> >> which<br>
> ><br>
><br>
> You mean like this?<br>
><br>
> function Foo (theString: string; options: set of TFoo): boolean;<br>
> begin<br>
> end;<br>
><br>
> Foo(theString: 'foo', options: []);<br>
><br>
> Objective-C has this mandatory and it made for stupidly long method names that just looked terrible but it was optional Pascal makes it look nicer. The declaration syntax is already the same as the label for the calling syntax so that seems like a nice fit.</p>
<p>If anything like this would be implemented, then the already existing syntax (for variant dispatch calls) would be used which uses ":=".</p>
<p>Regards,<br>
Sven</p>