
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
See https://docs.mql4.com/basis/types/string
MQL4 uses the same mechanism as many other languages such as C and Javascript where you can put special characters in a string constant by prefacing them with \
For example, "Column1\tColumn2" means "Column1 <tab> Column2". Similarly, "Column1\nColumn2" means "Column1 <new-line> Column2"
Because the \ character has a special meaning, you cannot just use \ in a string constant to mean "backslash". You have to use \\
\\ gets replaced with \ in the same way that \t gets replaced with <tab> and \n gets replaced with <new-line>
Therefore, if you do the following:
...you should see the output "c:\windows\win.ini"
Oh, yes, undestand it.
Soo, good work, it will not be until after the BS n or t.
See https://www.mql5.com/en/forum/149304
Alain Verleyen
Seeing as someone has dragged up this old thread....
There is now an MQL4 method to get the file modification time
https://docs.mql4.com/files/filegetinteger
hello gurus here please i am stuck in my project.
please i want to read and write to external files in mql4
i came across this documentation https://www.mql5.com/en/articles/1540 but it didnt work for me
firstly i downloaded the kernel32 winAPI and placed it in mt4 libraries file and implemented he documentation code
but it didnt work.
please help