[prev in list] [next in list] [prev in thread] [next in thread]
List: lua-l
Subject: Re: Behaviour of "local"
From: Luiz Henrique de Figueiredo <lhf () tecgraf ! puc-rio ! br>
Date: 2001-02-23 3:06:56
Message-ID: 200102230306.AAA15006 () ibere ! tecgraf ! puc-rio ! br
[Download RAW message or body]
>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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic