Download MetaTrader 5

tab character issue

To add comments, please log in or register
rotor
7
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 ! 

onewithzachy
2269
onewithzachy  
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  

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

Thanks !

To add comments, please log in or register