Download MetaTrader 5

ASCII Codes in Comment() possible?

To add comments, please log in or register
mar
1147
mar  

Hi coders,

I saw this part of an ASCII-Code-Table and I wanted to use the arrows in a Comment(). But the compiling doesn't work. I know that the codes are no strings but I have no idea how to use them in Comment(). If this doesn't work, is there any other possibility to use simple arrows in Comment() without using objects?

Thanks!

 

whroeder1
15567
whroeder1  
mar: But the compiling doesn't work. I know that the codes are no strings but I have no idea how to use them in Comment(). 
How are you putting them into the string? Character Constants - MQL4 Documentation
mar
1147
mar  

Thanks, William! But I think the codes for the arrows are not correct. I tried the StringSetCharacter() with the (c) symbol and it works fine with the code 0xA9... The arrow code 0x2191 is only printing a "?"

To add comments, please log in or register