Jump to content

Sort an integer array: Difference between revisions

PascalABC.NET
(→‎{{header|Ed}}: Expand on implementation details)
(PascalABC.NET)
 
Line 2,104:
=={{header|PARI/GP}}==
<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}}==
246

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.