[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: __newindex setting table
- From: "Victor Bombi" <sonoro@...>
- Date: Fri, 30 Jun 2017 10:50:04 +0200
Hi,
Where in the docs can be infered that
local aa = metatable({},{__newindex = function(t,i,v) t=v end})
aa[0] = 24
is not performing aa = 24
Best
victor bobi