[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Enhanced table constructors for lua5?
- From: DarkGod <darkgod@...>
- Date: Tue, 3 Feb 2004 19:24:39 +0100
Is it available anywhere ? And if not, could somebody knowledgable port it ?
My game uses it extensively in lua4 and if I am to port it to lua5, I'll
thus need it.
The patch is the one that allows that:
foo =
{
bar = 3
baz = 1
[6] = 7
}
That is, without the "," to separate pairs.
Thanks
--
DarkGod comes from | Do not meddle in the affairs of wizards
the hells for YOU ! :) | because they are subtle and quick to anger.
-----------------------+----------------------------------------------
ToME power! http://t-o-m-e.net