Sharp EL9900C EL-9900C - Page 146
list name, value
UPC - 074000016873
View all Sharp EL9900C manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 146 highlights
Chapter 9: List Features 3 dim( dim(list) Returns the number of items (dimension) in the list. Example • Display the dimension of list L1. natural number ⇒ dim(list name) Set the number of items (dimension) of specified list to the specified number. Example • Set the dimension of list L6 to 4. All the elements are initially 0. This operation overwrites the existing list dimensions. The existing values within the new dimensions remain as they are. 4 fill( fill(value, list) Enter the specified value for all the items in the specified list. * The dimension of the list must be set beforehand. Example • Set the dimension of list L6 to 4 and substitute 5 for all the items of list L6. 136
136
Chapter 9: List Features
3 dim(
dim(
list
)
Returns the number of items
(dimension) in the list.
Example
•
Display the dimension of list
L1.
natural number
⇒
dim(
list name
)
Set the number of items (dimension) of specified list to the
specified number.
Example
•
Set the dimension of list L6 to
4.
All the elements are initially 0.
This operation overwrites the
existing list dimensions.
The existing values within the new dimensions remain as they
are.
4 fill(
fill(
value
,
list
)
Enter the specified value for all the items in the specified list.
* The dimension of the list must be set beforehand.
Example
•
Set the dimension of list L6 to
4 and substitute 5 for all the
items of list L6.