Can't read double or string from a simple CSV file?
Check FILE_ANSI and FILE_UNICODE.
Thanks Alain, I tried FILE_UNICODE before and it didn't do the job, but FILE_ANSI did!!
You agree to website policy and terms of use
Hi all, I have a problem doing some simple file reading in MQL5, while I was able to do the same pretty fast in MQL4.
Here's the problem. I'm trying to read double and string from a CSV file that looks like this:
Here is the code I'm using to do this. When I try to print the entry or any other double, I get only zeros. When I try to print symbol, I get nothing, only when I compare a symbol to "EURUSD" I get that it actually is EURUSD...
Really don't understand what's the problem..?