replace value

 

Hi. Please help:

I have file with name values.ini

in file is:

scroll=1
shift=1

I need only change the value 1 to 0.

How to do it in MQL? Thanks


I have:

------------------------------------------------------------------
   string file_name = "values.ini";

   int fileHandle= -1, lasterror = 0;
   fileHandle= FileOpen(file_name, FILE_CSV|FILE_WRITE|FILE_READ); if(fileHandle<1){lasterror = GetLastError(); Print("Error updating file: ",lasterror); return(false);}
  ...what is here????
   FileClose(fileHandle);

Reason: