file_open()

Opens a specified file.

Syntax

file_open({file_path})

Parameters

Parameter Type Description Comment
file_path String The path of the file to open.

Return Value

Examples

Open a file named “document.txt”

file_open("document.txt"); // returns 1 if successful, 0 if failed

See also

file_delete

file_open
file_close

file_read

file_append
file_flush