var a: array of array of integer; i: integer; begin SetLength(a, 3); for i := 0 to 2 do SetLength(a[i],5); end;