local obj = {n = 2} function obj:add(x) return self.n + x end function obj:multi(a, b) return a + b, a * b end local a, b = obj:multi(2, 5) print(obj:add(3), a, b) local t = {x = 10} local function get() return t end print(get().x, ("%s-%d"):format("v", 4))