Output

Name

Output -- Opens a file for output

Synopsis

Output[file->TEXT, {append->False}, {close->True}] =: OUTPUT 

Description

Output opens a new output stream for writing to file. An error occurs if file is not able to be opened. By default, an existing file is overwritten; specifying append to be True opens the file in append mode. Also, by default, the file is closed after every write operation to the file; specifying close to be False will leave the file open between write operations. This may speed up output to a file, but will mean that the file is not closed until all references to the output stream are UnAssigned.

See also

Format, Input, ListFormat, Write.