Module:OutputBuffer/doc: Revision history


For any version listed below, click on its date to view it. For more help, see Help:Page history and Help:Edit summary. (cur) = difference from current version, (prev) = difference from preceding version,  m = minor edit, → = section edit, ← = automatic edit summary

30 October 2024

  • curprev 09:2509:25, 30 October 2024Muskit Gergous talk contribs 1,703 bytes +1,703 Created page with "This module provides an easy and efficient way to generate lengthy strings. == Usage == First, load the module. <syntaxhighlight lang="lua"> local newBuffer = require('Module:OutputBuffer') </syntaxhighlight> Then, create the buffer and the functions that act on it. <syntaxhighlight lang="lua"> local getBuffer, print, printf = newBuffer() </syntaxhighlight> === getBuffer === <syntaxhighlight lang="lua"> local text = getBuffer(sep) </syntaxhighlight> Returns the c..."