Sorting algorithms/Sleep sort: Difference between revisions

Content added Content deleted
m (fix a typo)
Line 1,263: Line 1,263:
<br>REXX isn't particular what is being sorted.
<br>REXX isn't particular what is being sorted.


This REXX version '''only''' works with Regina REXX &nbsp; (as the program uses the &nbsp; '''fork''' &nbsp; func tion.
This REXX version '''only''' works with Regina REXX &nbsp; (as the program uses the &nbsp; '''fork''' &nbsp;
function.
<br>REXX isn't particular what is being sorted.
<lang rexx>/*REXX program implements a sleep sort (with numbers entered from C.L.).*/
<lang rexx>/*REXX program implements a sleep sort (with numbers entered from C.L.).*/
numeric digits 300 /*over the top, but what the hey!*/
numeric digits 300 /*over the top, but what the hey!*/