lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

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" <> wrote in message
> > If it bothers you though, it's easy enough to redefine
loadstring to
> > use the caller environment.