Download MetaTrader 5
To add comments, please log in or register
Read the interviews of the Automated Trading Championship participants
macpee
287
macpee 2016.03.31 08:36 
GumRai:


Are you serious???

Your opening post in your very recent topic at

https://forum.mql4.com/71996

So you already know how to do it.
Lol... . Funny. Actually, it did not occur to me. Now I know I should figure it out by writing an empty string to all the records in the file. Thanks.
Keith Watford
Moderator
7990
Keith Watford 2016.03.31 08:51  
macpee:
How can I erase the content of a file, what function to use please. Thank you in advance.


Are you serious???

Your opening post in your very recent topic at

https://forum.mql4.com/71996

Each time I read from a file and close the file, the file becomes empty the next time I want to read or write to the file. What mechanism or function can I use to retain the content of the file in order to add to the existing content of the file or read the file again on the next opening of the file. I want the file to retain its content even when I restart the computer. Thank you in advance.

So you already know how to do it.
Demos Stogios
184
Demos Stogios 2016.03.31 14:35  
macpee:
Lol... . Funny. Actually, it did not occur to me. Now I know I should figure it out by writing an empty string to all the records in the file. Thanks.
nope; you call somewhere in your program FileOpen  but use FILE_WRITE
macpee
287
macpee 2016.04.01 00:18  
Demos:
nope; you call somewhere in your program FileOpen  but use FILE_WRITE
Yes you are right @Demos, you guys are very good with details.
/
To add comments, please log in or register