Lua Programming/write
Appearance
Usage
[edit | edit source]write ( [ LIST ] )
[edit | edit source]The write function is variadic and is used to produce simple standardized output. A comma separated list of items for output is provided in the argument list.
Examples
[edit | edit source]print ("Hello")
The write command does not automatically output a newline character
[edit | edit source]In lua, the write function does not automatically outputs a newline character.
Outputting a newline character
[edit | edit source]The print function automatically outputs a newline character. Alternatively it is possible to output a newline character by using an escape sequence.