macpee:
How can I erase the content of a file, what function to use please. Thank you in advance.
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.
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
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.
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.
nope; you call somewhere in your program FileOpen but use FILE_WRITE
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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.