Sorting algorithms/Cocktail sort: Difference between revisions

m
(→‎{{header|Phix}}: bugfix, nothing like a copy any more)
m (→‎{{header|360 Assembly}}: A better comment)
Line 34:
=={{header|360 Assembly}}==
{{trans|PL/I}}
The implemented algorithm is the « cocktail shaker sort ».<br>
The program uses ASMHLASM structured macros (DO,ENDDO,IF,ELSE,ENDIF) for readability and two ASSIST/360 macros (XDECO,XPRNT) to keep the code as short as possible.
<lang 360asm>* Cocktail sort 25/06/2016
COCKTSRT CSECT
1,392

edits