lua-users home
lua-l archive

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

On 01/23/2013 08:30 AM, steve donovan wrote:
Hi all,

This is an extended version of David Manura's globalsplus.lua
described in

Here is a fragment culled from a program:

local opts={}
if opts["h"] then
	os.exit ()
if not opts["gogo"] then


It gives me:

$ lua globalsplus.lua t.lua
globals: t.lua:5: undefined get os.exit.gogo

If I remove the second "if", everything is ok.

Is that interesting?