Download MetaTrader 5

How to control the text format when using fileWrite()?

To add comments, please log in or register
moonsboy
890
moonsboy  
How to control the text format when using FileWrite()? e.g. add a tab between 2 words.
moonsboy
890
moonsboy  
also need control the width of output string. e.g. output a string to right side(or left) in the width of 30 letters.
whroeder1
16764
whroeder1  
jollydragon: How to control the text format when using FileWrite()? e.g. add a tab between 2 words.
jollydragon: also need control the width of output string. e.g. output a string to right side(or left) in the width of 30 letters.
  1. Read the documentation Character Constants - MQL4 Documentation or CharToStr - MQL4 Documentation
  2. Format the string. StringFormat - MQL4 Documentation
moonsboy
890
moonsboy  

Dear WHRoeder, thanks for help!

To add comments, please log in or register