Module:Bongolium500/learning: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
No edit summary
 
Line 1: Line 1:
local p = {}
local p = {}


function p.pipeTest( frame )
function p.error( frame )
return frame:preprocess("<pre>"..frame.args[1].."</pre>")
return nil * 5
end
end


return p
return p

Latest revision as of 22:10, 18 February 2023

Lua error at line 4: attempt to perform arithmetic on a nil value.


local p = {}

function p.error( frame )
	return nil * 5
end

return p