What the documentation says ?
Alain Verleyen:
What the documentation says ?
What the documentation says ?
"Implicit initialization is not used."
Carl Schreiber:
"Implicit initialization is not used."
You are right carl, you have to set it to 0
int i =0;
In MT4 without the use of strict, variables are initialized to zero by default. With only global variables.
Updated MQL4 - MQL4 Reference
In MT5 there is no implicit initialization
Language Basics / Variables / Initialization of Variables - Reference on algorithmic/automated trading language for MetaTrader 5
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
Hi,
a question, just to be sure that it is meant what I assume:
Am I right, that (in contrary to mq4) variable don't get a value 0 on their definition:
It could be just another trap of the code-migrating mq4 =0 mq5.
Thanks!