Next: Array Example, Previous: Reference to Elements, Up: Array Basics [Contents][Index]
Array elements can be assigned values just like
awk
variables:
array[index-expression] = value
array is the name of an array. The expression index-expression is the index of the element of the array that is assigned a value. The expression value is the value to assign to that element of the array.