How to get file's modifycation time?

Back to topics list  | 1 2 To post a new topic, please log in or register
ttechnik 2014.02.08 19:06 #


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: should see the output "c:\windows\win.ini"

Oh, yes, undestand it.

string filename="c:\windows\win.ini"; is  "c:\windows\win.ini"

string filename="c:\windows\nwin.ini"; is  "c:\windows"

Soo, good work, it will not be until after the BS n or t.

Back to topics list   | 1 2  

To add comments, please log in or register