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

From Foodclubipedia
Jump to navigation Jump to search
(indent)
(string instead of array)
Line 2: Line 2:


p.blah = function(frame)
p.blah = function(frame)
local out = {}
local out = ""
 
table.concat(out, "This is certainly the greatest Lua module I have ever written.")
table.concat(out, "This is certainly the greatest Lua module I have ever written.")
table.concat(out, "\n")
table.concat(out, "\n")

Revision as of 22:24, 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 = ""

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

	return out
end

return p