Lua Wiki
Advertisement

<lua>

local f = assert(loadstring([[ local function inc(i)

  return i+1 

end return inc ]]))()

print(f(20))

</lua>

Advertisement