2-5-2

List Calculations

ILIST Variable Element Operations

You can recall the value of any element of a LIST variable. When the values {1, 2, 3} are assigned to “lista”, for example, you can recall the second value in the “lista”, when you need it.

You can also assign a value to any element in a list. When the values {1, 2, 3} are assigned to “lista”, for example, you can replace the second value with “5” to end up with {1, 5, 3}. After performing the procedure under “Inputting List Data from the Work Area”, perform the following operation.

SClassPad Operation

(1)Recall the value of the second element of LIST variable “lista”.JGQR?:A;U(2)Assign “5” to the second element of LIST variable “lista”.D6JGQR?:A;U

Tip

You can also perform the above operations on the “ans” variable (page 2-2-2) when it contains LIST data.

Example: {1, 2, 3, 4} U

{1, 2, 3, 4}

#:A;U 2

IInputting List Data Using the Stat Editor Window

Tapping displays the Stat Editor window, which you can then use to input list data. List data input this way is assigned to a LIST variable, so you can access it by specifying the applicable variable name.

For more information about using the Stat Editor window to create a list, see “7-2 Using Stat Editor”.

20060301