[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Is it safe to modify values while traversing a table with lua_next()?
- From: Carsten Fuchs <carsten.fuchs@...>
- Date: Thu, 26 Jul 2012 23:19:06 +0200
Am 2012-07-26 14:02, schrieb Matthew Wild:
You can modify the values, including setting them to nil. The only
other thing you *can't* do is add new keys to the table. The
documentation for next() in the manual describes this a bit further.
Aye, thank you very much! :-)
Cafu - the open-source Game and Graphics Engine
for multiplayer, cross-platform, real-time 3D Action
Learn more at http://www.cafu.de