[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: An introduction to Lua
- From: Dibyendu Majumdar <mobile@...>
- Date: Sun, 22 Oct 2017 01:09:08 +0100
Hi Eduardo,
On 22 October 2017 at 00:50, Eduardo Ochs <eduardoochs@gmail.com> wrote:
>> Functions in Lua are values stored in variables; in particular functions do not have names
>
> Tracebacks can sometimes determine, or guess, function names. I think
> I never saw a description in english of the algorithm that is used for
> that, though...
>
Tracebacks (and the debug API) show the name of the variable that
referenced the function.
Regards