Create an empty file.
FILE_Create("test.txt");
Open a file with the specified mode.
file = FILE_Open("test.txt", "w+");
Close a file.
FILE_Close(file);
Check if a file exists.
val = FILE_Exists("test.txt");
Read a file to a string value.
string = FILE_Read(file);
Write a string to a file.
FILE_Write(file, "test");
FILE_Write(file, "%d %s", 10, "Iswenzz");
Read a line from a file.
line = FILE_ReadLine(file);
Read lines from a file.
lines = FILE_ReadLines(file);
Write a new line to a file.
FILE_WriteLine(file, "test");
FILE_WriteLine(file, "%d %s", 10, "Iswenzz");
Write lines to a file.
FILE_WriteLine(file, lines);
Set the file buffer position.
FILE_Seek(file, 0);
Delete a file.
FILE_Delete("test.txt");
Create a directory.
FILE_MkDir("name");
Delete a directory.
FILE_RmDir("name");
Retrieve all file names from a directory.
files = FILE_ReadDir("name");