I have an existing file thath I open with both WRITE and READ rights to be able to update it.
I want to update 2 values that are somewhere in the file.
I first go tothe correctpositionbyreading the data before.
But then should I just write the new values (does it overwrite the old values or will it just insert the new ones) and close the file (or before closing the file should I firstreach the end of the file?)
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I have an existing file thath I open with both WRITE and READ rights to be able to update it.
I want to update 2 values that are somewhere in the file.
I first go tothe correctpositionbyreading the data before.
But then should I just write the new values (does it overwrite the old values or will it just insert the new ones) and close the file (or before closing the file should I firstreach the end of the file?)
Thanks