Anonymous user
Sorting algorithms/Comb sort: Difference between revisions
m
→{{header|REXX}}: added an EXIT code.
m (→{{header|REXX}}: added an EXIT code.) |
|||
Line 2,818:
call combSort # /*invoke the comb sort (with # entries)*/
call show ' after sort' /*display the after array elements. */
exit
/*──────────────────────────────────────────────────────────────────────────────────────*/
combSort: procedure expose @.; parse arg N /*N: is the number of @ elements. */
|