Sorting algorithms/Selection sort: Difference between revisions

m
Using 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>
<pre>
MODE DATA = REF CHAR;
 
Line 77:
FOR i TO UPB ref data DO print(ref data[i]) OD; print(new line);
print((data))
</prelang>
Output:
<pre>
Line 139:
 
=={{header|Forth}}==
<lang forth>
<pre>
defer less? ' < is less?
 
Line 157:
array 10 selection
array 10 cells dump
</prelang>
 
=={{header|Fortran}}==