Без параметров

Функции

local function say_goodbye()
  print("Goodbye!")
end

-- No arguments, but the parentheses are needed
say_goodbye()

-- Without them the function is not called:
-- the name is just a value
local same_function = say_goodbye
local kind = type(same_function)
-- kind = function

-- The saved value is called the same way
same_function()
print("kind = " .. kind)