Lua Programming/write
UsageEdit
write ( [ LIST ] )Edit
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.
ExamplesEdit
print ("Hello")
The write command does not automatically output a newline characterEdit
In lua, the write function does not automatically outputs a newline character.
Outputting a newline characterEdit
The print function automatically outputs a newline character. Alternatively it is possible to output a newline character by using an escape sequence.