Talk:Bubblesort (script): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(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...)
 
(No difference)

Revision as of 13:56, 11 February 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.