[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: freeing up a table
- From: Jason <i8msft@...>
- Date: Mon, 11 Sep 2000 19:20:10 -0400
Does this free up everything properly?
a_table =
{
a = 0,
b = 1,
c = 2
}
a_table = nil
...or would you have to go through each index of the table and set them to nil one by one? Actually, I'm doing it from C code, like this:
lua_Object o = lua_getglobal( "a_table" );
lua_pushnil();
lua_setglobal( "a_table" );
(I'm using Lua 3.2.2)
=^_^=
----------------------
Do you do Linux? :)
Get your FREE @linuxstart.com email address at: http://www.linuxstart.com