[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: C function replacing global environment - why is callingscopeunaffected?
- From: "Bruce Dodson" <bruce_dodson@...>
- Date: Mon, 14 Jun 2004 22:51:14 -0300
Anyway, it wasn't necessarily for loadstring that I wanted
to know. I just used that in my example because it didn't
require additional code to show it. Besides, even if the
behavior bothers me (violates the "no surprises if you can
help it" rule), it would be worse for my Lua to handle this
differently than the standard Lua.
"Wim Couwenberg" <email@example.com> wrote in message
> > If it bothers you though, it's easy enough to redefine
> > use the caller environment.