Jump to content

Do not begin to migrate content here, it may be wiped without notice. More info.

Module:LuaTest1

From Debian wiki2025 alpha
Revision as of 11:40, 15 September 2026 by mok0>Morten Kjeldgaard (Not currently under git control)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:LuaTest1/doc

local p = {}

function p.genFive()

   local takeFive = ';Generator of five numbers\n'
   local tabFive = {":Take five:"}

   for idx = 1, 5 do
      table.insert(tabFive, idx)
   end

   return takeFive .. table.concat(tabFive, " ")
end
return p