lua-users home
lua-l archive

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


Eric Tetz wrote:
> * Much of the real-world Lua code I've seen requires a function to copy a table.  I planned to 
> include a clone() function (written in C) for my users, but I am worried that there is a good 
> reason one doesn't already exist in the standard library.  Is there? 

I don't know for sure, but it may be because there are a bunch of different ways to clone a table. (deep, shallow, etc)

Steve