EasyManua.ls Logo

Sharp EL-9650 - Page 159

Sharp EL-9650
373 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
LIST FUNCTIONS
149
[1 sort A(] Used to sort the data in the list in ascending order.
<Example>
To sort list L1 in ascending order:
Entry: sort A (L1)
Answer: {4 5 6}
* It is also possible to sort more than one list at the same time. To do so, separate
lists with a comma (,).
Entry: sort A (L1, L2)
Answer: L1: {4 5 6}
L2: {9 8 3}
At this time, the first list (L1 ) is sorted in ascending order, however, subsequent lists
are sorted according to the sorted terms in the first list.
(All lists are not sorted in ascending order.)
[2 sort D(] Used to sort the data in the list in descending order.
<Example>
To sort list L1 in descending order:
Entry: sort D (L1)
Answer: {6 5 4}
“Done” will be displayed on the execution screen of both sortA and sortD. Press
Ï
®
to check list contents.
[3 dim(] Use to set or return the dimension (the number of terms) of the list.
<Example>
To display the dimension of list L1:
Entry: dim (L1 )
Answer: 3
<Example>
To set the dimension of list L3:
Entry: 4
Î
dim (L3)
Answer: {0 0 0 0}
Display: 4
* When executing the dim command using an existing list, a new list is created
using the entered data.
EL-9650-(06)EN (145-156) 8/1/00, 9:03 AM149

Table of Contents

Other manuals for Sharp EL-9650

Related product manuals