[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: a question about tables
- From: dustpylex2 <dustpylex2@...>
- Date: Sat, 6 Oct 2007 16:57:45 -0700 (PDT)
Merick wrote:
>
> I'm trying to get a handle on tables. Can some tell me, with these
> declarations am I creating one single table "tiles" with "pic" and "file"
> as subsets of that table, or am I just creating three different tables?
>
> tiles = {}
> tiles.pic = {}
> tiles.file = {}
>
>
What your doing is essentially the equivalent of this:
tiles = {pic={},file={}}
So ya, they are subsets of tiles.
--
View this message in context: http://www.nabble.com/a-question-about-tables-tf3337160.html#a13078687
Sent from the Lua - General mailing list archive at Nabble.com.