Error after upgrade to 350

To add comments, please log in or register
HongDi s& t development co.,ltd.
1381
hongbin fei  

my EA called trade.mqh, after I upgrade to build 350 

then there is  an error (it is the first error, more errors after it):

 

code: 

   string            FormatDealAction(string &str,const uint action) const; 

error: 

identifier 'action' is reserved for enumerator Trade.mqh 113 62

how to fix it? 


Rashid Umarov
Admin
16579
Rashid Umarov  

error: 

identifier 'action' is reserved for enumerator Trade.mqh 113 62

how to fix it? 

   string            FormatDealAction(string &str,const uint action) const; 


Just rename your identifier. E.g. d_action.
To add comments, please log in or register