How to send only one row of a multidimensional array to a function?

0

I need to send only one line of a multidimensional array as a parameter of a function , without having to transfer this line to another array .

For example:

call:

var
  UmArray : array [0..4, 0..20] of integer;
begin
//preenche o array

funcao(UmArray[2]);
end;


funcao(UmArray: array of integer);
begin
//faz algo
end;
    
asked by anonymous 21.03.2016 / 23:09

0 answers