|
|
SaveFile(filename As string, data As string, overwrite As boolean) As string
string SaveFile(string filename, string data, boolean overwrite);
| name | type | description | ||
| filename | string | The filename of the file to be saved. If the path is not included it will be saved in the current directory. | ||
| data | string | The string to save to the file. | ||
| overwrite | boolean | (optional) Overwrite if the file already exists. |
Saves the string to a file. If the file already exists, the overwrite flag should be set to true.
The method will throw an exception if an error is encountered.
We always want to hear your feedback. Send to feedback@toolsack.com.
© 2000-2001 Toolsack Software Ltd.