lua-users home
lua-l archive

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


That's what I was looking for. Great, thanks!

Jason



Milano Carvalho wrote:
I tried something and I got the below code, but I don't know if it is fast.

function Registry:getValue(key)
  local globals = globals
  local dostring = dostring
  local g = globals(self)
  local r = dostring("return " .. key)
  globals(g)
  return r
end