<div dir="ltr"><div dir="ltr">On Fri, Dec 21, 2018 at 3:08 PM Michael Van Canneyt <<a href="mailto:michael@freepascal.org">michael@freepascal.org</a>> wrote:</div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I think that should be possible, but only for external functions.<br>
<br>
Michael.</blockquote></div><div><br></div><div>sorry, but it sounds very strange for me:</div><div><br></div><div>function foo; varargs 2; ...</div><div><br></div><div>I never saw a compiler/language limiting the arguments in a variadic function, but ... 😀</div><div><br></div><div>And, as I said, the problem I showed is not variadic situation, because all parameters are named. The problem is just because, by default, the transpiler pass the values of the default parameters to the generated code, but it would be nice to change this behavior via some compiler option.</div><div><br></div><div>I probably will change my transpiler copy allowing to omit the default parameters in the generated script. 😅</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Silvio Clécio</div></div></div></div>