title: matrix as the array of arrays
body: <p>I've a function that checks if there is a repeat data in the array; That looks like shown below. The task is using that function find the columns in matrix with no repeating data. The question is to how to pass the column of the matrix to that function. </p>
  
  <p>P.S. I'm using Pascal/Delphi</p>
  
  <pre><code>type
    myArray = array [1..10] of integer;
  
  function noRepeat(A: myArray; n: integer): Boolean;
  var
    i: integer;
  begin
    Result := true;
    for i:=1 to n do
      for j := i + 1 to n do
        if  (A[i] = A[j]) then
          Result := true;
  end; 
  </code></pre>