
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
I recently moved a lot of code compiled by build 509 to build 625. Overall 625 found a lot of issues missed by the old compiler, but I'm puzzled by an issue with ArraySize() used on a two dimensional array passed by reference, which still works fine when the updated source is compiled by 509.
I wrote a small test EA to try and isolate the issue and I've already discussed it on several other forums before posting here, in case I was missing something obvious. However, since no one has pointed an error in my code so far perhaps the experts here can shed some light on the issue:
The top level scope ArraySize returns the expected values.
but the output from ArraySize called in the function reports the ArraySize() of the two-dimensional array passed by reference as zero, whereas the one dimensional array passed by reference returns the correct ArraySize.