lua-users home
lua-l archive

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




Am 25.08.2015 um 08:56 schrieb Daurnimator:
On 25 August 2015 at 16:36, Ulrich Schmidt <u.sch.zw@gmx.de> wrote:
So i do a simple asignment;
     td[int] = ts["key"];
     ts["key"] = nil;

As far as i know this creates a copy of the value-sting.
It does not. It creates a 2nd reference to the same string.

table.remove is not what you want here.

Thanks a lot. My mistake. :)

Ulrich.