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

From Foodclubipedia
Jump to navigation Jump to search
(the greatest, of course, but will it compile?)
 
(indent)
Line 3: Line 3:
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, "\n")
table.concat(out, "And, I might add, '''almost''' certainly the greatest Lua module ever written.")


    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
return out
end
end


return p
return p

Revision as of 22:19, 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