System.IO.fileWrite()
Signature
void fileWrite (String fileName, String str, boolean append, boolean flush)
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
Name | Type | Description |
fileName | String | The name of the file to write to. |
str | String | Data to be written. |
append | boolean | Is this write to be treated as an append to an existing file? |
flush | boolean | Should the data be flushed to the file immediately? |