Module:User:Bureaucrat 37/sandbox/List of Clubs/Lua experiment: Difference between revisions

From Foodclubipedia
Jump to navigation Jump to search
(string instead of array)
(let's give this a shot)
Line 4: Line 4:
local out = ""
local out = ""


table.concat(out, "This is certainly the greatest Lua module I have ever written.")
out = out .. "This is certainly the greatest Lua module I have ever written.\n"
table.concat(out, "\n")
out = out .. "\n"
table.concat(out, "And, I might add, '''almost''' certainly the greatest Lua module ever written.")
out = out .. "And, I might add, '''almost''' certainly the greatest Lua module ever written."


return out
return out

Revision as of 22:32, September 25, 2022

Documentation for this module may be created at Module:User:Bureaucrat 37/sandbox/List of Clubs/Lua experiment/doc

p = {}

p.blah = function(frame)
	local out = ""

	out = out .. "This is certainly the greatest Lua module I have ever written.\n"
	out = out .. "\n"
	out = out .. "And, I might add, '''almost''' certainly the greatest Lua module ever written."

	return out
end

return p