<div dir="ltr"><br><div class="gmail_quote">On Thu, Feb 9, 2012 at 7:53 PM, Thomas Young <span dir="ltr"><<a href="mailto:tygraphics@me.com">tygraphics@me.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF"><div>This is how I would do that. There may be a better way.</div><div><div class="im"><br><blockquote type="cite"><font color="#000000">TInfo=record <br></font></blockquote><blockquote type="cite">
<font color="#000000"><span> s: string;</span><br></font></blockquote><blockquote type="cite"><font color="#000000"><span> i: integer;</span><br></font></blockquote><blockquote type="cite"><font color="#000000"><span>end;</span><br>
</font></blockquote><blockquote type="cite"><font color="#000000"><span></span><br></font></blockquote></div><div>ATInfo = array[1..100] of TInfo;</div><div>ATInfoPtr = ^ATInfo;</div><div><br></div><div>Var</div><div>A:ATInfoPtr;</div>
<br><blockquote type="cite"><font color="#000000">function func1(a:ATInfoPtr</font><span>);</span></blockquote><div class="im"><br>Thomas Young<div>330-256-7064</div><div><a href="http://www.tygraphics.net" target="_blank">www.tygraphics.net</a></div>
<div>Sent from my iPhone</div></div></div><div class="im"><div><br>On Feb 9, 2012, at 12:24 PM, Everton Vieira <<a href="mailto:tonvieira@gmail.com" target="_blank">tonvieira@gmail.com</a>> wrote:<br><br></div><blockquote type="cite">
<blockquote type="cite"><span>TInfo=record </span><br></blockquote><blockquote type="cite"><span> s: string;</span><br></blockquote><blockquote type="cite"><span> i: integer;</span><br></blockquote><blockquote type="cite">
<span>end;</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>function func1(a: array of TInfo);</span></blockquote></blockquote><div></div></div></div><br clear="all">
</blockquote></div><br><br>Thanks, but that is not my expected answer, my ask about "dynamic array of record" and without define a variable to pass it by params, for example i can pass the params for array of string like this<br>
<br>func2(['t1', 't1']); this work, but i want to extend the params info?<br><br><div dir="ltr">Best Regards<br>Zaher Dirkey</div><br>
</div>