[Date Prev][Date Next][Thread Prev][Thread Next]
- 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 <firstname.lastname@example.org> 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.