lua-users home
lua-l archive

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


>Ok, so what does the settagmethod on the global/default tag look like?

settagmethod(tag(nil),"getglobal",
 function (x)
  local y=strlower(x)
  if x==y then return nil else return getglobal(y) end
 end)

PRINT(PRINT)

--lhf