table1 = get_from_lua(name1);
table2 = get_from_lua(name2);
tablesize = get_table_size_lua(table1);
for (i;i<tablesize;i++)
{
if (table1 != lua_function)
table2 = table1;
}
</pre>
I added the if clause because i wanna copy all table members except the functions. I hope its not too unclear what i mean <img src="smile.gif" width=15 height=15 align=middle>
Thanks alot
Mfg Impz0r </i>
Need help with lua tables
Hi,
I was wondering if there any possibility in copy a lua table to another one in c++?! I mean something like this (pseudo code):
Stay Evil & Ugly!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement