On Thu, Feb 9, 2012 at 7:53 PM, Thomas Young <tygraph...@me.com> wrote:

> This is how I would do that. There may be a better way.
>
> TInfo=record
>
>  s: string;
>
>  i: integer;
>
> end;
>
>
> ATInfo = array[1..100] of TInfo;
> ATInfoPtr = ^ATInfo;
>
> Var
> A:ATInfoPtr;
>
> function func1(a:ATInfoPtr);
>
>
> Thomas Young
> 330-256-7064
> www.tygraphics.net
> Sent from my iPhone
>
> On Feb 9, 2012, at 12:24 PM, Everton Vieira <tonvie...@gmail.com> wrote:
>
> TInfo=record
>
>  s: string;
>
>  i: integer;
>
> end;
>
>
> function func1(a: array of TInfo);
>
>
>

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

func2(['t1', 't1']); this work, but i want to extend the params info?

Best Regards
Zaher Dirkey
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to