HP 49g Graphing Calculator User Manual
Page 91
Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".
![background image](/manuals/632032/91/background.png)
Function (Continued)
Description
0
(flGlLIST ELEMENTS POS
Returns the position of the first occurrence of an ele
ment (argument 2/level 1) in a specified list (argument
1/level 2). For example:
POS({2, 4, 6, 1, 2, 3, 4), 4) returns 2 (since the first
occuiTence of 4 is at position 2 in the list.
0
(PEG)
LIST
RPN command to disassemble a list into its elements
and return (to level 1) the number of elements that were
in the list. Each element is placed on a separate level of
the stack.
0
{®
LIST SUB
Creates a sub-list of elements from a list (argument
1/level 3) starting with the element at one position
(argument 2/level 2) and ending with the element at
another position (argument 3/level 1). For example,
S U B ( ¡ 1 , 2 , 3 , 4 , 5 1 , 2 , 4 } returns ¡ 2 , 3 , 4 } .
0
®
LIST REEL
Replaces the elements of a list (argument 1/level 3)
with the elements from another list (argument 3/level 1)
starting at a specified position (argument 2/level 2). For
example,
REPL((6, 7, 8, 2}, 2, ¡ 1 , 2 . 3 } returns ¡6, 1, 2,3 |.
Page 9-8
Lists and Sequences