Download MetaTrader 5

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

To add comments, please log in or register
Do you have idle PCs? Connect them to MQL5 Cloud Network and earn money!
moonsboy
889
moonsboy 2014.11.18 06:53 
How to control the text format when using FileWrite()? e.g. add a tab between 2 words.
moonsboy
889
moonsboy 2014.11.18 07:17  
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
14489
whroeder1 2014.11.18 13:28  
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
889
moonsboy 2014.11.19 03:27  

Dear WHRoeder, thanks for help!

To add comments, please log in or register