Fivenum: Difference between revisions

Content added Content deleted
(Added Algol 68)
(→‎{{header|ALGOL 68}}: typo in the notes and additional notes)
Line 223: Line 223:
=={{header|ALGOL 68}}==
=={{header|ALGOL 68}}==
{{Trans|11l}}
{{Trans|11l}}
Includes additionl test cases as in Pearl, Go etc. with adjustment to n4 for odd length array.
Includes additional test cases and adjustment to n4 for odd length array as in a number of samples.
<lang algol68>BEGIN # construct an R-style fivenum function #
<lang algol68>BEGIN # construct an R-style fivenum function #
PROC quicksort = ( REF[]REAL a, INT lb, ub )VOID:
PROC quicksort = ( REF[]REAL a, INT lb, ub )VOID: