System.IO.fileWrite()

Signature

void fileWrite (String fileName, String str, boolean append, boolean flush)

Domain

ACTION, BUI

Description

Write the data in str to the specified file. The file is opened / created automatically if necessary. Append and flush are only used to open / create the file and are ignored if the file is already opened.

Parameters

NameTypeDescription
fileNameStringThe name of the file to write to.
strStringData to be written.
appendbooleanIs this write to be treated as an append to an existing file?
flushbooleanShould the data be flushed to the file immediately?

Returns

TypeDescription
void

Cautions

none