[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [BUG]Lua function args bug
- From: "pan shizhu" <pan.shizhu@...>
- Date: Sat, 6 Dec 2008 11:49:56 +0800
On Fri, Dec 5, 2008 at 3:59 PM, Linker <firstname.lastname@example.org> wrote:
Sorry, it's a my mistake.
It is quite normal to use table.foreach and made this kind of mistake. I think this might be the reason to obsolete table.foreach. Please note that table.foreach is officially obsoleted. Use for k,v in pairs(table) instead, which is less prone for mistake.