Reference Guide
Full Command and Function Reference 3-97
Access: !°
LIST ELEMENTS GET
( °is the left-shift of the Nkey).
Input/Output:
Level 2/Argument 1 Level 1/Argument 2 Level 1/Item 1
[[ matrix ]]
n
position
→
z
get
[[ matrix ]]
{ n
row
, m
column
}
→
z
get
'name
matrix
'
n
position
→
z
get
'name
matrix
'
{ n
row
, m
column
}
→
z
get
[ vector ]
n
position
→
z
get
[ vector ]
{n
position
}
→
z
get
'name
vector
'
n
position
→
z
get
'name
vector
'
{n
position
}
→
z
get
{ list }
n
position
→
obj
get
{ list }
{n
position
}
→
obj
get
'name
list
'
n
position
→
obj
get
'name
list
'
{n
position
}
→
obj
get
Example 1:
[[ 2 3 7 ][ 3 2 9 ][ 2 1 3 ] { 2 3 } GET
returns
9
.
Example 2:
[[ 2 3 7 ][ 3 2 9 ][ 2 1 3 ] 8 GET
returns
1
.
Example 3:
{ A B C D E } { 1 } GET
returns
'A'
.
See also: GETI, PUT, PUTI
GETI
Type: Command
Description: Get and Increment Index Command: Returns from the argument 1/level 2 array or list (or named
array or list) the real or complex number z
get
or object obj
get
whose position is specified in
argument 2/level 1, along with the first (level 2) argument and the next position in that argument.
For matrices, the position is incremented in row order.
Access: !°
LIST ELEMENTS GETI
( °is the left-shift of the Nkey).
Flags: Index Wrap Indicator (–64)