read file problem .
tinivini:
Hi . I want read data from txt file .
I have a file with name "data.txt" and value inside file is "a"
I wrote this code based on the reference.
The "data.txt" located same folder mql5 file and the handle value is equal to 1.
But the str value is not printed(The program does not enter the while loop).
Please advise.
put the file in the files folder
Documentation on MQL5: File Functions
- www.mql5.com
File Functions - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Hi . I want read data from txt file .
I have a file with name "data.txt" and value inside file is "a"
I wrote this code based on the reference.
The "data.txt" located same folder mql5 file and the handle value is equal to 1.
But the str value is not printed(The program does not enter the while loop).
Please advise.