lua-users home
lua-l archive

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


Please please make this accessable from the API. I would very much like to be able to obtain a list of all uninitialized globals so that I can deal with them in the C wrapper and recompile the script.  Having a list of keys applied to an uninitialized table would be a bonus (though I suppose that there are problems with nested access of the form: t.a.b)

--niklas

Luiz Henrique de Figueiredo wrote:
>
The interpreter in Lua 5.1 will have an option for flagging the use of
uninitialised global vars as an error (but it will not be the default).