imported>RexxS
space
 
(No difference)

Latest revision as of 23:07, 13 December 2017

Documentation for this module may be created at Module:Sandbox/RexxS/GCI08/doc

-- Module to demonstrate a simple table for Google-Code-in-2017
--
-- The function 'mum' displays "Hello Mum"
-- The number base for the times-table is passed as parameter "num"
-- If no parameter or a blank parameter or a value less than 2 is passed, use 2

p = {}

p.mum = function(frame)
	local family = {"Dad", "Mum", "Uncle Stan", "Aunty Elsie", "Brian"}
	local msg = ""
	msg = msg .. "Hello " .. family[2] .. "<br>"
	return msg
end

return p