<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jan 26, 2016 at 5:34 AM, leledumbo <span dir="ltr"><<a href="mailto:leledumbo_cool@yahoo.co.id" target="_blank">leledumbo_cool@yahoo.co.id</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> Neither FPC nor Delphi allow you to declare your own varargs functions.<br>
That it works in Delphi is by pure change. Trying to outsmart the compiler<br>
will only lead to trouble.<br>
<br>
</span>AFAIR it was supported until certain FPC version, but the dropped entirely<br>
to only for external C functions.<br>
The related error message (search for "varargs" here:<br>
<a href="http://www.freepascal.org/docs-html/user/userse62.html" rel="noreferrer" target="_blank">http://www.freepascal.org/docs-html/user/userse62.html</a>) explains it (better<br>
than the documentation page for varargs directive:<br>
<a href="http://www.freepascal.org/docs-html/ref/refsu88.html" rel="noreferrer" target="_blank">http://www.freepascal.org/docs-html/ref/refsu88.html</a>)</blockquote></div><div><br></div><div>Thanks for sharing the links.</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Silvio Clécio</div></div></div>
</div></div>