Module:Sandbox/RexxSS

--this is a comment --task2

p = {}

function p.CleverName(frame) return "Hello World." end

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

function p.temperature(frame) cel = tonumber(frame.args.celsius) or 0 fah = cel * 9 / 5 + 32 if cel > 10 then msg = " it is warm." else msg = " it is not warm." end return "The temperature in farenheit is " .. fah .. msg end

p.times = function(frame) local num = tonumber( frame.args.num ) or 2 local out = num .. "Times table " for i = 1, 10 do out = out .. i * num .. " "	end return i .. " times " .. num .. " is " .. out end

return p