MQL4 Syntax Question - page 2

 
The i+1 probably came from somebody that initially used EA Builder. We hate EA builder
int Current;
int start() {
   :
   double Var1 = iHigh(NULL, PERIOD_H1, Current + 1);
 
eempc:

hence why I saw that i defaulted to 0.

Just be careful with the new MQL4.5 language. The MetaEditor inserts 'property #strict' into new files, which documentation suggests 'i' might not be initialised in this case?

But then the documentation looks a bit confusing? It says:


Since the number of changes is large enough, the new #property strict property has been introduced to provide maximum compatibility with the previous approach to developing MQL4 programs.

But the 'The table of differences between compilers' below that quote seems to indicate that #property strict makes MQL4 less compatible with old MQL4 and more compatible with MQL5 ?? I think I've just confused myself!