Stokes1976: I am trying to write and read a text file.
int o = FileOpen("Hello.txt",FILE_COMMON,CP_ACP);
- You don't specify if it is a text file, or binary.
- You don't specify if it is ANSI or Unicode
- You don't specify if you are reading, writing, or appending.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Good morning all,
I am trying to write and read a text file. I can read the contents of the text file, I am finding it tricky to write, delete, copy and move the contents of the file to a different location.