[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Metatable Lookup Rules
- From: Javier Guerra Giraldez <javier@...>
- Date: Mon, 25 Sep 2017 16:15:42 +0100
On 25 September 2017 at 15:14, Viacheslav Usov <via.usov@gmail.com> wrote:
> as an additional argument. Then, unless I am mistaken, if F returns a
> non-nil value, both T and M will get a new key assigned with that value.
Lua won't modify either table by itself, it's up to the function F to
do it if you want.
--
Javier