Homeworld 2 : Functionwrite
Karos Graveyard ::
Function Reference :: Scope Reference :: Variable Reference
write([<FileHandle>, ] <Value1>, ...)

Description (from LUA 4 Manual: 6.4 I/O Facilities
"Writes the value of each of its arguments to file _OUTPUT, or to <FileHandle> if this argument is given. The arguments must be strings or numbers. To write other values, use tostring or format before write. If this function fails, it returns nil, plus a string describing the error."

Example

Arguments
<FileHandle>: the handle of the file to write to.
<Value1> to <ValueN>: the values to write to the file.

Related Functions
:: ::