An array is a table of values called elements. The elements of an array are distinguished by their indices. Indices may be either numbers or strings.
This chapter describes how arrays work in
how to use array elements, how to scan through every element in an array,
and how to remove array elements.
It also describes how
awk simulates multidimensional
arrays, as well as some of the less obvious points about array usage.
The chapter moves on to discuss
for sorting arrays, and ends with a brief description of
ability to support true arrays of arrays.
|• Array Basics||The basics of arrays.|
|• Numeric Array Subscripts||How to use numbers as subscripts in
|• Uninitialized Subscripts||Using Uninitialized variables as subscripts.|
|• Delete||The |
from an array.
|• Multidimensional||Emulating multidimensional arrays in
|• Arrays of Arrays||True multidimensional arrays.|
|• Arrays Summary||Summary of arrays.|