Sorting algorithms/Selection sort: Difference between revisions
Sorting algorithms/Selection sort (view source)
Revision as of 07:28, 12 February 2009
, 15 years agoUsing lang tags now.
m (<lang>) |
m (Using lang tags now.) |
||
Line 50:
{{works with|ALGOL 68G|Any - tested with release mk15-0.8b.fc9.i386}}
{{works with|ELLA ALGOL 68|Any (with appropriate job cards) - tested with release 1.8.8d.fc9.i386}}
<lang algol>
MODE DATA = REF CHAR;
Line 77:
FOR i TO UPB ref data DO print(ref data[i]) OD; print(new line);
print((data))
</
Output:
<pre>
Line 139:
=={{header|Forth}}==
<lang forth>
defer less? ' < is less?
Line 157:
array 10 selection
array 10 cells dump
</
=={{header|Fortran}}==
|