Talk:Bubblesort (script)

From Elanthipedia
Revision as of 18:00, 6 February 2009 by Maintenance script (talk | contribs) (New page: 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 i...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.