|
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 Regards, Milano