20010102
u SortA
Function: Sorts the elements of a list into ascending order.
Syntax: SortA( List [ ) ]
The list must contain values or mathematical expressions only. Equations and inequalities
are not allowed.
Example To sort the elements of list {1, 5, 3} into ascending order
K1(LIST)c(CREATE)e(SortA)! *( { )b,f,d
!/( } )w {
1, 3, 5
}
u SortD
Function: Sorts the elements of a list into descending order.
Syntax: SortD( List [ ) ]
The list must contain values or mathematical expressions only. Equations and inequalities
are not allowed.
Example To sort the elements of list {1, 5, 3} into descending order
K1(LIST)c(CREATE)f(SortD)!*( { )b,f,d
!/( } )w {
5, 3, 1
}
u SubList (SubLst)
Function: Extracts a specific section of a list into a new list.
Syntax: SubList( List, start number [, end number] [ ) ]
Example To extract element 2 through element 3 from list {1, 2, 3, 4}
K1(LIST)c(CREATE)g(SubLst)!*( { )b,c,d
,e! /( } ),c,dw {
2, 3
}
• If you do not specify an end number, all the elements from the start number to the end of
the list are extracted.
7-1-29
Using the CAS (Computer Algebra System) Mode