That`s a question of mine too. Em 09/02/2012, às 15:17, Zaher Dirkey escreveu:
> 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 > > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal