If you have a list of items (a list of car names, for example), storing the cars in single variables could look like this: $cars1 = "Volvo"; $cars2 = "BMW"; $cars3 = "Toyota"; An example of associative array.
var array = { var myObject = {}; Awk supports only associative array. The index-by table is commonly called the associative array.