MQL4 - automated forex trading   /  

Documentation

MQL4 Reference  File functions  FileIsLineEnding

 
Use the opportunities of
MQL5 in MetaTrader 5
Study the new MQL5 language
Study the new MQL5 language.
Reference is already available
bool FileIsLineEnding( int handle)
For CSV file returns logical true if file pointer is at the end of the line, otherwise returns false. To get the detailed error information, call GetLastError() function.
Parameters:
handle   -   File handle, returned by FileOpen() function.
Sample:
  if(FileIsLineEnding(h1))
    {
     FileClose(h1);
     return(false);
    }