Jump to content

Module:OutputBuffer

විකිපීඩියා වෙතින්
04:55, 22 සැප්තැම්බර් 2017 වන විට Lee (සාකච්ඡාව | දායකත්ව) (Imported from English Wikipedia.) විසින් සිදු කර ඇති සංශෝධන
(වෙනස) ← පැරණි සංශෝධනය | වත්මන් සංශෝධනය (වෙනස) | නව සංශෝධනය → (වෙනස)
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
"https://si.wikipedia.org/w/index.php?title=Module:OutputBuffer&oldid=406815" වෙතින් සම්ප්‍රවේශනය කෙරිණි