RosettaCodeData/Task/Sort-an-integer-array/Delphi/sort-an-integer-array.delphi

8 lines
142 B
Text
Raw Normal View History

2013-04-11 01:07:29 -07:00
uses Types, Generics.Collections;
var
a: TIntegerDynArray;
begin
a := TIntegerDynArray.Create(5, 4, 3, 2, 1);
TArray.Sort<Integer>(a);