function add(x) return function (y) return x + y, 1, 2 end end function test() return add(10)(15) end global c = print(test())