无返回值

函数

local function add_3_and_print(value)
  print(value + 3)
end

-- The call prints 8 and gives back nothing
add_3_and_print(5)

-- No return: zero values, not one nil
local function do_nothing() end
local count = select("#", do_nothing())
-- count = 0

-- print gets no values: an empty line
print(do_nothing())
print("count = " .. count)