-- methodsolver17821, Google Code-in, Introduction to Lua in Wikipedia
--methodsolver17821, Google Code-In, 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
p.temperature = function(frame) cel = frame.args.celsius or "0" fah = cel*9/5+32 return cel.." degrees celsius is "..fah.." degrees Farenheit.
" end
return p