saveTextFile: Difference between revisions

324 bytes removed ,  3 December 2020
no edit summary
No edit summary
No edit summary
Line 7: Line 7:
|parameter2 = string text The text to set the content of the file to.
|parameter2 = string text The text to set the content of the file to.
|returnTypes = null n/a
|returnTypes = null n/a
|usage = set all text inside a file to.<br>The text may contain new-line character(s).<br>The text stored is either up to text's string length or first null-byte (\0) character, whichever occurs first.<br>This function internally opens, writes, and closes the file.<br>The file is internally opened in text-mode, not binary-mode.<br>The file is internally opened in write-mode, not read-mode.
|usage = write a string of text to a file, truncating the file first
|returnFail1 = null n/a
|returnFail1 = null n/a
}}
}}
6,833

edits