Error on https://www.mql5.com/en/articles/2720#z0
Then don't you think, you should have posted your comment on that Article's discussion board and not here in the general forum?
Discussion of article "MQL5 Programming Basics: Files"
- 2016.11.04
- www.mql5.com
New article MQL5 Programming Basics: Files has been published: Author: Dmitry Fedoseev...
Creating a text file
In order to create a file, open it using the FileOpen() function. Open the "test.txt" file using the FILE_READ flag instead of the FILE_WRITE one:
It should be FILE_WRITE flag instead of the FILE_READ one: