title: Delphi: two dimensional array to one dimensional array
body: <p>I have a two dimensional array. In a for loop, I want to do like this</p>
  
  <pre><code>procedure TForm1.Button2Click(Sender: TObject);
  var i : integer;
      arr : array[0..2, 0..1] of integer;
      tmpArr : array[0..1] of integer;
  begin
    arr[0, 0] := 0;
    arr[0, 1] := 92;
  
    arr[1, 0] := 1;
    arr[1, 1] := 75;
  
    arr[2, 0] := 2;
    arr[2, 1] := 70;
  
    for i := 0 to 2 do
      tmpArr := arr[i];
  
  end;
  </code></pre>
  
  <p>But it says Incompatible types. I think arr[i] and tmpArr are both one dimensional array, each have two elements, aren't they?</p>