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

9 lines
147 B
Text
Raw Permalink 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);
2013-06-05 21:47:54 +00:00
end;