Download MetaTrader 5

return expressions are not allowed on a global basis - page 2

To add comments, please log in or register
whroeder1
15326
whroeder1  
  1. The return inside start
  2. End of your function
    void write_data()
       {
       :
       for (int i=0;i<=size;i++)
          {
             :    
          }
       FileClose(handle); 
       
          }     <<<< end of write_data
    
       return;  <<<< outside of function
       
    //+------------------------------------------------------------------+
    //|                                   |
    //+------------------------------------------------------------------+
    int start()

12
To add comments, please log in or register