lua-users home
lua-l archive

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


No, I tried that and it gives an "attempt to index nil value" error. 'self' isn't valid inside the dostring block.

Jason



Milano Carvalho wrote:
Excuse-me, I think that only it is sufficient

function Registry:getValue(key)
  return dostring("return self." .. key)
end