saveTextFile: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "{{ScriptItem |endpoint = shared |type = function |name = saveTextFile |parameters = string filePath, string text |parameter1 = string filePath The path to the file. |parameter...")
 
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 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 = 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.
|returnFail1 = null n/a
|returnFail1 = null n/a
}}
}}
6,834

edits

Navigation menu