lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Does that actually "remove" it or just set it to nil, because I know how to do that. But I wanna remove it.

On 5/21/2012 6:01 PM, Alex Queiroz wrote:
On Mon, May 21, 2012 at 10:59 AM, forume<forumme5487@live.com>  wrote:
I have some trouble with removing keys from tables.

t = {a = 10}

How can I remove these kind of table keys?

t["a"] = nil