Difference between revisions of "NXSL:OpenFile"
Jump to navigation
Jump to search
(Created page with "__NOTOC__ Open file on server local file system. Must be enabled by setting server configuration parameter ''NXSL.EnableFileIOFunctions''. '''Since:''' 2.2.3 == Syntax ==...") |
(No difference)
|
Revision as of 14:59, 6 February 2018
Open file on server local file system. Must be enabled by setting server configuration parameter NXSL.EnableFileIOFunctions.
Since: 2.2.3
Syntax
OpenFile(name, mode);
Parameters
name string File name. mode string Optional access mode: "r" for read, "w" for write (will overwrite existing file), "a" for append. If omitted, file will be open for reading.
Return Value
FILE object on success, NULL on failure.