File: gawk.info, Node: Array Basics, Next: Numeric Array Subscripts, Up: Arrays 8.1 The Basics of Arrays ======================== This minor node presents the basics: working with elements in arrays one at a time, and traversing all of the elements in an array. * Menu: * Array Intro:: Introduction to Arrays * Reference to Elements:: How to examine one element of an array. * Assigning Elements:: How to change an element of an array. * Array Example:: Basic Example of an Array * Scanning an Array:: A variation of the 'for' statement. It loops through the indices of an array's existing elements. * Controlling Scanning:: Controlling the order in which arrays are scanned.