[Include] mFiles - File Writer/Reader System
#21

A big update is comming guys, stay tuned!
Reply
#22

Intersting...
could you make some compares? between this and other nowdays used file scripts ?
btw,all nowdays file scripts are faster than dini.
Reply
#23

I will do some more comparing when I will release the new update as it has many changes including performace improvments.
Reply
#24

Quote:
Originally Posted by Maxips2
Посмотреть сообщение
I will do some more comparing when I will release the new update as it has many changes including performace improvments.
What are the changes?
Reply
#25

Quote:
Originally Posted by Maxips2
Посмотреть сообщение
I will do some more comparing when I will release the new update as it has many changes including performace improvments.
I tried your file script and i loved it.
it is very easy to use and very comfortable,
but still,i have some questions -
1. How do i write a single string\integer instead of two + mix it together ? (key or value only)
For example,if i want it to write -
Код:
SetPlayerPos(playerid,%.4f,%.4f,%.4f);
what should i do,to write this only ? (without the '=')
2. can you add a function to delete file(s) ?
3. Isn't these functions,same releated to string and\or integer ?
i mean the bool is a string,hex and bin are strings & integers.
so why spliting it and not just making a complex of everything instead ? its a lot easier.
pawn Код:
File_WriteBool("allow_connect", true);
File_WriteHex("spawn_color", 0xFFFFFF);
File_WriteBin("binary_info", 0b1110110);
4. can i mix integer in string ?
Reply
#26

1. Sorry I did not understand your question ?
2. There is, File_Remove(filename[]
3. I didn't really understand that question either, can you explain better?
4. Yeah you can do something like File_WriteString("Key", "Value32");

And thanks for your comment, stay tuned for next version, more stable with many more features including tags and comments and performance improvments.
Reply
#27

Quote:
Originally Posted by Maxips2
Посмотреть сообщение
1. Sorry I did not understand your question ?
2. There is, File_Remove(filename[]
3. I didn't really understand that question either, can you explain better?
4. Yeah you can do something like File_WriteString("Key", "Value32");

And thanks for your comment, stay tuned for next version, more stable with many more features including tags and comments and performance improvments.
1. If i will use -
Код:
File_WriteString("Key","Value");"
it will print -
Код:
Key=Value
But if i want to write only one of them,Key or Value,without the symbol '=' being apeared.
than what should i do ?
2. you didn't mention it in your first post.
3. Why have you added bool,bin and hex when they're just a string and\or integer ?
i mean you can simply use WriteString instead of using them,so why you made them ?
Reply
#28

Quote:
Originally Posted by Arca
Посмотреть сообщение
What are the changes?
Tag support, comments support, more functions, faster writing & reading, you can now read and write at the same time. No more different function to open for writing/reading and closing for writing/reading.

Quote:
Originally Posted by xkirill
Посмотреть сообщение
1. If i will use -
Код:
File_WriteString("Key","Value");"
it will print -
Код:
Key=Value
But if i want to write only one of them,Key or Value,without the symbol '=' being apeared.
than what should i do ?
2. you didn't mention it in your first post.
3. Why have you added bool,bin and hex when they're just a string and\or integer ?
i mean you can simply use WriteString instead of using them,so why you made them ?
1. Why would you want to do that?
2. Sorry my bad, that function is only added in the new version! however its just a macro, you can use fremove, it will do the same effect.
3. Easier to use IMO, you don't have to use that though.
Reply
#29

Quote:
Originally Posted by Maxips2
Посмотреть сообщение
1. Why would you want to do that?
because i want to save a full sentance without any symbols in it ?
Reply
#30

Well.. I guess you can use fwrite..
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)