Talk:Bubblesort (script): Difference between revisions
Jump to navigation
Jump to search
m (moved Talk:Bubblesort(script) to Talk:Bubblesort (Script)) |
m (moved Talk:Bubblesort (Script) to Talk:Bubblesort (script)) |
(No difference)
|
Latest revision as of 12:36, 24 March 2011
This was an excursion in stormfront scripting I took to see if it could be done.
The result is a properly functioning bubblesort algorithm on a variable size array.
The data are passed in as parameters to the script.
.bubblesort 1 2 3 4 5 6 7
will produce (after much computation)
{7 6 5 4 3 2 1}
There is no practical application of this aside from possibly making a skill sorter or "what do I need to level" script.