Download MetaTrader 5

Declaring 2D array, doesn't work on local level, only global

To add comments, please log in or register
researchpro
57
researchpro 2014.10.11 19:17 

Hi, this is some info that may save someone a few days of trouble, or maybe some that will bring to light what I'm missing.

I was unable to declare a 2D array locally. Only 1D.

The 2D had to be declared Globally.

Access denied violation is the error that was being generated.

Perhaps the documentation could be updated, or someone can correct my understanding if I am yet in error.

Anyone else care to try it, please post if you are able to declare locally a 2 D array, where I was not.

thanks

John

Carl Schreiber
6670
Carl Schreiber 2014.10.11 20:07  
can you provide the code that does not work?
To add comments, please log in or register