Module:Print: Difference between revisions

From Kronopolis and the Flat Plane
No edit summary
No edit summary
Line 1: Line 1:
function print()
function print()
p.loop = function(frame)
p.loop = function(frame)
local out = {}
local out = {1,2,3,4,5}


for idx = 1, 5 do
for idx = 1, 5 do

Revision as of 15:37, 22 February 2023

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

function print()
	p.loop = function(frame)
		local out = {1,2,3,4,5}

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

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

	return 'Boop'
end