Site Notice

hello, world

Module:Variable

From Project-EPB Commons
Revision as of 18:07, 29 October 2020 by 机智的小鱼君 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
{{#invoke:variable|main}}{{#invoke:variable|main}}{{#invoke:variable|main}}

1 1 1


local p = {}

_G.variable = _G.variable or 1

function p.main(frame)
	local n = _G.variable
	_G.variable = _G.variable + 1
	return n
end

return p