loadTextFile: Difference between revisions

No change in size ,  2 December 2020
no edit summary
No edit summary
No edit summary
Line 6: Line 6:
|parameter1 = string filePath The path to the file.
|parameter1 = string filePath The path to the file.
|returnTypes = string
|returnTypes = string
|usage = fetch all text inside a file.<br>The file and data returned may contain new-line character(s).<br>The data fetched is either up to the EOF (end of file) or first null-byte (\0) character, whichever occurs first.<br>This function internally opens, reads, and closes the file.<br>The file is internally opened in text-mode, not binary-mode.<br>The file is internally opened in read-mode, not write-mode.
|usage = fetch all text inside a file.<br>The file and text returned may contain new-line character(s).<br>The text fetched is either up to the EOF (end of file) or first null-byte (\0) character, whichever occurs first.<br>This function internally opens, reads, and closes the file.<br>The file is internally opened in text-mode, not binary-mode.<br>The file is internally opened in read-mode, not write-mode.
|returnInfo = the data fetched, as a string, which could be an empty string
|returnInfo = the text fetched, as a string, which could be an empty string
|returnFail1 = null n/a
|returnFail1 = null n/a
}}
}}
6,834

edits