imported>Materialscientist
m Reverted edits by 98.144.100.183 (talk) (HG) (3.4.10)
 
(No difference)

Latest revision as of 04:46, 13 November 2022

Usage edit source

Used as an example in Help:Lua debugging#Without changing the code


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