Module:Sandbox/Mynarco

--Mynarco Google Code-in, Introduction to Lua in Wikipedia --Mynarco Google Code-in, Lua Task 2 - Working with modules local p = {} -- p stands for package

function p.hello( frame ) return "Hello, world!" end

p.Hi = function(frame) strName = frame.args.name or "Jimbo" return "Hello from Lua to my friend " .. strName .. ". " end

return p