<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Oct 20, 2014 at 6:01 PM, Joost van der Sluis <span dir="ltr"><<a href="mailto:joost@cnoc.nl" target="_blank">joost@cnoc.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On 10/20/2014 08:35 PM, silvioprog wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Can I use something like this using FPC from trunk?:<br>
<br>
<a href="http://www.drbob42.com/examines/examinA5.htm" target="_blank">http://www.drbob42.com/<u></u>examines/examinA5.htm</a><br>
</blockquote>
<br></span>
Why don't you just try it yourself?<br></blockquote><div><br></div><div>Unfortunatelly in the moment I have no a FPC from trunk, I will install it as soon as possible.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
And there are quite some techniques in that article. which one do you mean? Maybe if you take some more time to formulate your real question?<br></blockquote><div><br></div><div>The doubt shown in the title: "Is "reference to procedure" implemented in trunk?". Eg:</div><div><br></div><div>TProc = <b><font size="4">reference to</font></b> procedure(x: Integer);<br></div><div><br></div><div><div>procedure call(const proc: TProc);</div><div>begin</div><div> proc(42);</div><div>end;</div><div><br></div><div>var</div><div> proc: TProc;</div><div>begin</div><div> proc := procedure(a: Integer)</div><div> begin</div><div> Button1.Caption := IntToStr(a)</div><div> end;</div><div> call(proc)</div><div>end;</div></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
The article mentions anonymous functions, which are not supported ...</blockquote><div><br></div><div>Thanks, it answers my question! ;)</div><div><br></div><div>For a moment I thought something like this was implemented, then I would test it.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">... but are also useless.<br></blockquote><div><br></div><div>OK, thanks again!</div><div><br></div></div>-- <br>Silvio Clécio<br>My public projects - <a href="http://github.com/silvioprog" target="_blank">github.com/silvioprog</a>
</div></div>