Table syntax

I have a quick syntactical question - why does this work:

1
2
3
4
5
6
7
8
9
10
11
local foobar = 
{
        { 10, -60 },
        { 60, -60 },
        { 110, -60 },
        { 160, -60 },
        { 210, -60 },
        { 260, -60 }    
}
 
print("size: " .. #foobar);
views:1223 update:2011/11/28 11:38:31
corona forums © 2003-2011