Your rerNum-array has the size 0,2;
ArrayResize(resNums,0);
hi, I had working mql4 expert, and after a new build it stopped to work as expected. Current build is 765
Namely, array passed to a function has no values.
Please see attached full code and of its execution output:
The arrays have values,but they are all zero as they are re-sized but not assigned any other values.
What your code does show is that when multi-dimensional arrays are passed by reference to a function, ArraySize() doesn't seem to work.
ArrayRange() does work though.
The arrays have values,but they are all zero as they are re-sized but not assigned any other values.
What your code does show is that when multi-dimensional arrays are passed by reference to a function, ArraySize() doesn't seem to work.
ArrayRange() does work though.
Thank you!
- 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, I had working mql4 expert, and after a new build it stopped to work as expected. Current build is 765
Namely, array passed to a function has no values.
Please see attached full code and of its execution output: