Answer the question
In order to leave comments, you need to log in
How to pass a dynamic array by value to a function in Delphi?
If you pass a two-dimensional dynamic array by value, i.e.:
type
massive=array of array of integer;
........................................
function way(matrix:massive):boolean;
Answer the question
In order to leave comments, you need to log in
Change the function declaration to:
And inside the function, copy the array into a local variable and work with it already.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question