Jump to content

Module:Example of lua debugging

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 98.144.100.183 (talk) at 04:44, 13 November 2022. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

local p = {}
p.Hello = 'test'
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