[fpc-pascal] Pass array of record as parameter
Zaher Dirkey
parmaja at gmail.com
Thu Feb 9 18:17:41 CET 2012
Hi,
TInfo=record
s: string;
i: integer;
end;
function func1(a: array of TInfo);
how can i pass the parameter to that function?
for example, i cant do that?
func1([('test1', 1), ('test2', 2)]);
--
I am using last reversion of Lazarus, FPC 2.6
Thanks in advance
Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20120209/38cda89c/attachment.html>
More information about the fpc-pascal
mailing list