In Delphi you can initialize a dynamic array in two ways, either manually or via the Create magic constructor: type TIntegerArray = array of Integer; procedure Test; var a : TIntegerArray; begin // magic constructor a := TIntegerArray.Create(1, 2); // manual creation ...
More...