Sorting algorithms/Bogosort: Difference between revisions

m
→‎true bogo sort: shortened the TELL subroutine.
m (→‎true bogo sort: changed the output titles, ensured that the random numbers were unique (for swapping)..)
m (→‎true bogo sort: shortened the TELL subroutine.)
Line 1,794:
exit /*stick a fork in it, we're done.*/
/*──────────────────────────────────TELL subroutine─────────────────────*/
tell: say; say center(arg(1), 50, '─')
do t=1 for #
say arg(1) 'element'right(t, length(size#))'='right(@.t, 18)
end /*t*/
say
return</lang>