lua-users home
lua-l archive

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


On Mon, Sep 28, 2009 at 12:49 PM, Stuart P.Bentley
<stuart@testtrack4.com> wrote:
> How can I do a shallow copy of a table that operates identically to the
> original?

OK, I'm trying to understand the application here; it is a copy, not a
proxy (i.e. the modifications apply to the original object)? I suppose
an object is identical when it behaves exactly like the original, but
then a low-level function like table.concat() cannot be expected to
work, unless it's a true copy.