11.12.2016, 13:25
Quote:
I was looking for something like this, although with the debug version you forgot to define "gFileStr":
Код:
file_system_debug.inc(138) : error 017: undefined symbol "gFileStr" |
![Smiley](images/smilies/smile.png)
--------
Updated - 11/12/16:
- File_Write* optional param "len" added. Set a length for "format" function.
- File_Read* optional params "size" (set how many dates will be read) and "pack" (for packed strings) added.
- File_Copy added. Copy a file data and paste it in a new one (it will overwrite if new directory exists). Example:
PHP код:
// native File_Copy(const from[], to[], bool:remove = false); if "remove" param it's true, it will delete the old file!
File_Copy("my_file1.txt", "my_file2.txt", true); // Example 1
File_Copy("Folder1/my_file1.txt", "Folder2/my_file2.txt", false); // Example 1