Module:Example of lua debugging

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by imported>Pppery at 14:53, 17 May 2023 (Rv test). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

local p = {}
p.Hello = 'Hello'
function p.calc(num)
   return num
end
function p.sum_mult(num)
   return num + num, num * num
end
function p.mtable(num)
   return {num, num+1}
end
return p