[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Possible "inconsistent" reference to gettable_event in reference manual
- From: Lorenzo Donati <lorenzodonatibz@...>
- Date: Wed, 15 Mar 2017 19:38:23 +0100
On 04/03/2017 16:01, Lorenzo Donati wrote:
Sorry to bump this thread, but I had no feedback at all in more than 10
days, I guess maybe because people were busy for the Moscow event.
On 03/03/2017 12:14, Lorenzo Donati wrote:
Browsing the ref man of Lua 5.3.4 I stumbled on this.
In section 3.2 it's written:
The meaning of accesses to table fields can be changed via metatables.
An access to an indexed variable t[i] is equivalent to a call
gettable_event(t,i). (See §2.4 for a complete description of the
gettable_event function. This function is not defined or callable in
Lua. We use it here only for explanatory purposes.)
but in section 2.4 there is no mention of that "fake" gettable_event
function. In fact there is no other mention to it in the whole manual!
Could it be a remnant of older reference manual versions (I faintly
recall something in 5.1 manual) that escaped recent editing?
Sorry for replying to my message, but it appears that also
the`settable_event` function has the same "problem": it is first cited
in section 3.3.3 (at the end), and the text there direct to section 2.4
for further explanation, but no further mention to it is present in the
Now it is swamped by more recent threads, and since I think it is
somewhat important so here it is again.