Документация

Функции

править

B=«My name is Hrunkner»;

-- Suppose the file mod.lua looks like this:
local M = {}

local function sayMyName(name)
  --print('Hrunkner')
  return 'My name is '..name
end

function M.sayHello()
  --print('Why hello there')
  return sayMyName('Hrunkner')
end

return M