So far from the documentaion the case is clear with name indexed tables within a numerically indexed table
Code: Select all
buts = { {x1 = 0, y1 = 0, x2 = 100, y2 = 50},
{x1 = 100, y1 = 0, x2 = 80, y2 = 50},
{x1 = 180, y1 = 0, x2 = 100, y2 = 50} }
For k = 0 To 2
Debugprint (buts[k].x1, buts[k].y1, buts[k].x2, buts[k].y2)
Next
Code: Select all
buts = { { 0, 0, 100, 50},
{100, 0, 80, 50},
{180, 0, 100, 50} }
For k = 0 To 2
Debugprint (buts[k].[0], buts[k].1, buts[k] [2], buts.k[3])
Next