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

 

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

 
can you provide the code that does not work?
Reason: