0
I need to send only one line of a array multidimensional as a parameter of a Function, without having to transfer this line to another array.
for example:
calling for:
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;
array[0]
represents an integer so declare the function so that it takes an integer as parameter.– ramaral
Actually, array[0], represents a row of an array, and that’s what I want to pass, an array containing only 1 row of the multidimensional array.
– Jórdan Luiz Bisato
Sorry, I misread the question.
– ramaral