Difference between revisions of "BasicToken:SortA("
From WikiPrizm
Jump to navigationJump to searchTuriqwalrus (talk | contribs) |
|||
Line 9: | Line 9: | ||
== Example == | == Example == | ||
− | {1,45,2,3,5,2} → List 1 //Data is stored into List 1, then the list is sorted in ascending order and displayed at (1,1). | + | {1,45,2,3,5,2} → List 1 //Data is stored into List 1, then the list is sorted in ascending order and displayed at (1,1). |
− | SortA(List 1) //This example would display {1,2,2,3,5,45} as the end result. | + | SortA(List 1) //This example would display {1,2,2,3,5,45} as the end result. |
− | Locate 1,1,List 1 | + | Locate 1,1,List 1 |
[[Category:BASIC_Commands]] | [[Category:BASIC_Commands]] |
Latest revision as of 16:00, 29 February 2012
Description
This command sorts a list's elements in ascending order(low to high).
Syntax
SortA(<List name>)
Example
{1,45,2,3,5,2} → List 1 //Data is stored into List 1, then the list is sorted in ascending order and displayed at (1,1).
SortA(List 1) //This example would display {1,2,2,3,5,45} as the end result.
Locate 1,1,List 1