Download MetaTrader 5

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

To add comments, please log in or register
Publish your article. Millions of traders are looking for good ideas!
whroeder1
14504
whroeder1 2014.02.11 13:49  
  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