Indexes

Let's populate the Table:

   myCats[ 1 ] = "Chester"
   myCats[ 2 ] = "Charlotte"
   myCats[ 3 ] = "Chloe"
If we print the table:

   Print myTable
we'll get: { 1:"Chester", 2:"Charlotte", 3:"Chloe" }
We can access elements in a collection by specifying the collection, and the key in square brackets:

   Print myCats[ 3 ]
prints "Chloe".