[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Behaviour of "local"
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 23 Feb 2001 00:06:56 -0300 (EST)
>but leaves me confused about why the getglobal tag
>method that import sets lets the code executed with dofile see global
>functions like print and globals from the file that called import, but not
>_ERRORMESSAGE.
Because _ERRORMESSAGE is called implicitly in ldo.c and its value is not
obtained by calling lua_getglobal (calling lua_getglobal when handling errors
might generate other errors...)
But, yes, I see your point.
--lhf