Retrieving an Element of an Array: Difference between revisions

m
(→‎{{header|J}}: Primary { noted in introduction)
Line 158:
The natural unit of access in J is the item. (Every non-empty noun may be treated as one or more items.)
NB. Define example one-axis array, in which each item is an atom
]ex1=: 10+ i. 6 NB. ] means display the full array (after defining=: defines it)
10 11 12 13 14 15
4 { ex1 NB. Single specific item
Anonymous user