PDA

View Full Version : Multidimensional array limit???



Oscar Ugolini
19-10-2012, 22:36
why can't i run this:

dim a(4,10,10,10) as single

Is the multidimensional array limit to 3dimension???
thanks

bye, Oscar

Petr Schreiber
20-10-2012, 09:31
Hi Oscar,

yes, currently there are only 1D, 2D and 3D arrays supported.
What kind of situation do you want to model using 4D array?

I guess you could simulate 4D array this way:


Type AuxDimensions
values(10, 10, 10) As Single
End Type

Dim a(4) As AuxDimensions


Petr

Oscar Ugolini
20-10-2012, 13:09
Thanks for the info Petr...

bye
Oscar