samjesse:
Hi
This code is expected to read the content of C:\Users\myName\AppData\Roaming\MetaQuotes\Terminal\Common\Files\spread\EURGBP.txt which is "0 10" with out the quotes. But I am getting "No value in file".
Any idea why and how to fix it so that it reads the content of "0 10"? Thanks
Are you sure the separator is a space and not a tab ?
You could also have to use FILE_ANSI or FILE_UNICODE.

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
Hi
This code is expected to read the content of C:\Users\myName\AppData\Roaming\MetaQuotes\Terminal\Common\Files\spread\EURGBP.txt which is "0 10" with out the quotes. But I am getting "No value in file".
Any idea why and how to fix it so that it reads the content of "0 10"? Thanks