MQL4 - automated forex trading   /  

Documentation

MQL4 Reference  File functions  FileTell

 
Use the opportunities of
MQL5 in MetaTrader 5
Study the new MQL5 language
Study the new MQL5 language.
Reference is already available
int FileTell( int handle)
Returns the current position of the file pointer. To get the detailed error information, one has to call GetLastError() function.
Parameters:
handle   -   File handle returned by the FileOpen() function.
Sample:
  int handle;
  int pos;
  handle=FileOpen("my_table.dat", FILE_BIN|FILE_READ);
  // reading some data
  pos=FileTell(handle);
  Print("current position is ", pos);