?? help pls, MQL how to read cvs, or txt file, read line by line into array

To add comments, please log in or register
zeeyeetee
76
zeeyeetee  

for instance, I have a text file, 


aaa

bbb

ccc

ddd


MQL how to read it line by line, and input each of them into array[]


thanks

kypa
981
kypa  
https://www.mql5.com/en/docs/files/fileislineending
Documentation on MQL5: File Functions / FileIsLineEnding
Documentation on MQL5: File Functions / FileIsLineEnding
  • www.mql5.com
//|                                        Demo_FileIsLineEnding.mq5 | //|                        Copyright 2013, MetaQuotes Software Corp. | //|                                              https://www.mql5.com | //| Custom indicator initialization function                         |...
To add comments, please log in or register