Unrecognised character

 

please , i have slight error for correction, message ,'U-unrecognized character escape sequence' : 

Print("The file example.tpl found in", "\\C:\Users\MT\AppData\Roaming\MetaQuotes\Terminal\A1....\templates\Files");

please help. thank you.

 
MThomp:

please , i have slight error for correction, message ,'U-unrecognized character escape sequence' : 

Print("The file example.tpl found in", "\\C:\Users\MT\AppData\Roaming\MetaQuotes\Terminal\A1....\templates\Files");

please help. thank you.

The backslah is a special character in MQL. When a real backslash is needed, you need to put a double backslash =   \\

That's why it is failing on "\U"...


;)

 
Minions Labs:

The backslah is a special character in MQL. When a real backslash is needed, you need to put a double backslash =   \\

That's why it is failing on "\U"...


;)

working now ,Thank you.

Reason: