Module:Print: Difference between revisions

From Kronopolis and the Flat Plane
No edit summary
No edit summary
Line 1: Line 1:
function print()
local p = {}
return 'boop';
p.loop = function(frame)
local out = {}
 
for idx = 1, 5 do
table.insert(out, idx)
end
 
return table.concat(out, "<br>")
end
end
return p

Revision as of 15:41, 22 February 2023

Documentation for this module may be created at Module:Print/doc

local p = {}
p.loop = function(frame)
	local out = {}

	for idx = 1, 5 do
		table.insert(out, idx)
	end

	return table.concat(out, "<br>")
end
return p