Hi
This mql5 code gives a compile time error: "abc undeclared identifier", any idea why and how to fix it?
Thanks
hmm... when i compile, i only get ['.' - name expected] for this line:
abc.Add(x);
and if i comment out this line, everything else compiled without error... are we using a different compiler? LOL
hmm... when i compile, i only get ['.' - name expected] for this line:
and if i comment out this line, everything else compiled without error... are we using a different compiler? LOL
Ok, I get the problem fixed, but now I am getting a new compile problem on the line
abc.Add(x);
Invalid array access, member function not defined.
But the docs says I can
https://www.mql5.com/en/docs/standardlibrary/datastructures/carraylong/carraylongadd
- www.mql5.com
Ok, I get the problem fixed, but now I am getting a new compile problem on the line
Invalid array access, member function not defined.
But the docs says I can
https://www.mql5.com/en/docs/standardlibrary/datastructures/carraylong/carraylongadd
The docs refer to object-oriented array objects that inherits from CArray class. These arrays are not the same as your abcArr[].
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi
This mql5 code gives a compile time error: "abc undeclared identifier", any idea why and how to fix it?
Thanks