Sharp EL-9900 User Manual

Page 146

Advertising
background image

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.

Advertising