Sort an integer array: Difference between revisions
Content added Content deleted
(→{{header|Ed}}: Expand on implementation details) |
(PascalABC.NET) |
||
Line 2,104: | Line 2,104: | ||
=={{header|PARI/GP}}== |
=={{header|PARI/GP}}== |
||
<syntaxhighlight lang="parigp">vecsort(v)</syntaxhighlight> |
<syntaxhighlight lang="parigp">vecsort(v)</syntaxhighlight> |
||
=={{header|PascalABC.NET}}== |
|||
<syntaxhighlight lang="delphi"> |
|||
## |
|||
var a := Arr(5,1,4,2,3); |
|||
Sort(a); |
|||
Print(a); |
|||
</syntaxhighlight> |
|||
{{out}} |
|||
<pre> |
|||
[1,2,3,4,5] |
|||
</pre> |
|||
=={{header|Peloton}}== |
=={{header|Peloton}}== |