[NTG-context] PANIC: unprotected error in call to Lua API

Peter Münster pmlists at free.fr
Fri Jan 14 17:51:39 CET 2011


Hans Hagen <pragma at wxs.nl> writes:

> On 14-1-2011 4:54, Peter Münster wrote:

>> local t = {}
>> package.seeall(t)
>> setfenv(0, t)

> what do you want to achieve with the first three lines

I want to prevent pollution of the global environment, when I need to
define my own globals. But of course, I can do that with a name-space
prefix, that's what I'm doing now.

I've just posted the error, because perhaps it reveals a bug somewhere.

-- 
Peter Münster

Contact information: http://pmrb.free.fr/contact/


More information about the ntg-context mailing list