[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Table declaration problem
- From: alan@... (Alan Watson)
- Date: Sun, 21 Dec 1997 22:01:59 -0600
> table = { {"filename1.boo" , 10, 10, 20, 20 },
> {"filename2.boo" , 10, 10, 20, 20 },
> list_type = "image"
> };
I'm not disputing that the restrictions on table construction seem a
little odd, but if your problem is restricted to this kind of example,
how about:
function image(table)
table.list_type = "image"
return table
end
image{
{"filename1.boo" , 10, 10, 20, 20 },
{"filename2.boo" , 10, 10, 20, 20 },
}
Alan