RoboSpider:
I investgated same requirement few weeks ago, and I found it's impossible in pure MQL4/5 currently.
1. How can one get the number of possible values in an enum?
2. How can one iterate through all possible values of an enum?
Thanks
Xiangdong Guo:
I investgated same requirement few weeks ago, and I found it's impossible in pure MQL4/5 currently.
Thanks Xiangdong.
I investgated same requirement few weeks ago, and I found it's impossible in pure MQL4/5 currently.
Xiangdong Guo:
I investgated same requirement few weeks ago, and I found it's impossible in pure MQL4/5 currently.
I investgated same requirement few weeks ago, and I found it's impossible in pure MQL4/5 currently.
Example...
enum mis_TIPO_AVISOS {now, eMail, SMS, allW}; .../... int maxEnum= (int)allW + 1; for(mis_TIPO_AVISOS k= now; k<= allW; k++) makeFunction();
oo
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
1. How can one get the number of possible values in an enum?
2. How can one iterate through all possible values of an enum?
Thanks