跳转到内容

模組:OutputBuffer

被永久保护的模块
维基百科,自由的百科全书

这是Module:OutputBuffer当前版本,由Xiplus-abot留言 | 贡献编辑于2025年8月8日 (五) 20:50 (已保护“Module:OutputBuffer”:​高風險模板:500引用<!-- 機器人3 -->​([编辑=仅允许自动确认用户](无限期)​[移动=仅允许自动确认用户](无限期)))。这个网址是本页该版本的固定链接。

(差异) ←上一修订 | 最后版本 (差异) | 下一修订→ (差异)
return function()
	local buffer = {}
	return function(sep)
		local b = buffer
		buffer = {}
		return table.concat(b, sep)
	end,
	function(text)
		buffer[#buffer + 1] = text
	end,
	function(...)
		buffer[#buffer + 1] = string.format(...)
	end
end