GNU Info

Info Node: (gawk.info)Assigning Elements

(gawk.info)Assigning Elements


Next: Array Example Prev: Reference to Elements Up: Arrays
Enter node , (file) or (file)node

Assigning Array Elements
========================

   Array elements can be assigned values just like `awk' variables:

     ARRAY[SUBSCRIPT] = VALUE

ARRAY is the name of an array.  The expression SUBSCRIPT 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.


automatically generated by info2www version 1.2.2.9