lua-users home
lua-l archive

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


> You could (in Lua4) try dumping the global table to see if you did a
> spelling error or such:
> foreach (globals(), function(k,v) print(k,v) end)

or just:

foreach(globals(), print)

:)

In Lua 5:

table.foreach(_G, print)