Jump to content

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

Module:LuaTest1: Difference between revisions

From Debian wiki2025 alpha
mok0>Morten Kjeldgaard
Not currently under git control
 
m 1 revision imported
 
(No difference)

Latest revision as of 11:43, 15 September 2026

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