Page 8-10
Manipulating elements of a list
The PRG (programming) menu includes a LIST sub-menu with a number of
functions to manipulate elements of a list. With system flag 117 set to
CHOOSE boxes:
Item 1. ELEMENTS.. contains the following functions that can be used for the
manipulation of elements in lists:
List size
Function SIZE, from the PRG/LIST/ELEMENTS sub-menu, can be used to
obtain the size (also known as length) of the list, e.g.,
Extracting and inserting elements in a list
To extract elements of a list we use function GET, available in the
PRG/LIST/ELEMENTS sub-menu. The arguments of function GET are the list
and the number of the element you want to extract. To insert an element into
a list use function PUT (also available in the PRG/LST/ELEMENTS sub-menu).
The arguments of function PUT are the list, the position that one wants to
replace, and the value that will be replaced. Examples of applications of
functions GET and PUT are shown in the following screen:
Содержание 49g+
Страница 1: ...hp 49g graphing calculator user s guide H Edition 4 HP part number F2228 90006 ...
Страница 197: ...Page 5 30 LIN LNCOLLECT POWEREXPAND SIMPLIFY ...
Страница 377: ...Page 11 55 Function KER Function MKISOM ...
Страница 457: ...Page 13 26 In the right hand side figure above we are using the line editor to see the series expansion in detail ...
Страница 775: ...Page 26 10 the location of the backup battery in the top compartment at the back of the calculator ...
Страница 838: ...Page L 5 ...