Download MetaTrader 5

tab character issue

To add comments, please log in or register
Ask your broker to open the official channel. Thousands of traders will read the news!
rotor
7
rotor 2012.05.21 19:47 

Hi All, sorry if this is a silly question, but I haven't been able to come up with a solution: if I try to put a '\t' character into a string, it ends up displayed as a space (32) rather than a tabulation (9).

What am I doing wrong ?

Thanks ! 

onewithzachy
2271
onewithzachy 2012.05.24 04:21  
rotor:

Hi All, sorry if this is a silly question, but I haven't been able to come up with a solution: if I try to put a '\t' character into a string, it ends up displayed as a space (32) rather than a tabulation (9).

What am I doing wrong ?

Thanks ! 

Is it in a Print(), Alert(), or Comment() ?. \t will be ignored in Print(), or Alert().
rotor
7
rotor 2012.05.24 08:29  

I was using (well, trying to use) it in a printf() call.

Thanks !

To add comments, please log in or register