[Include] file_system [reduce memory usage - faster than y_ini!]
#12

Quote:
Originally Posted by CantBeJohn
Посмотреть сообщение
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"
Thanks for reporting, fixed!

--------

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 
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)