Difference between revisions of "BasicToken:SortA("
From WikiPrizm
Jump to navigationJump to searchTuriqwalrus (talk | contribs) (Created page with '== 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 …') |
Turiqwalrus (talk | contribs) |
||
Line 10: | Line 10: | ||
{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]] |
Revision as of 15:59, 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