Module:Sandbox

From blackwiki
Revision as of 17:37, 20 February 2018 by 71.208.158.197 (talk)
Jump to navigation Jump to search

Scribunto Testing Area

This is not an actual Lua module. It exists to provide a convenient pseudo-namespace for code testing, hopefully preventing the main Module: namespace from becoming littered with experiments, as Lua modules cannot exist as subpages in the User: namespace.

Please name your experimental modules in the following format to help keep things tidy:

Module:Sandbox/Your User Name/Module name

You can use Special:PrefixIndex/Module:Sandbox to list modules in this area.



-- Placeholder only! Do not add code.
function exponent(BASE,EXP)
	result = 1
	for i = 1, to do EXP=
	result * base;
	return result
	end end