How to initialize a n-dimensional array

 
Hello,

I would like to create and initialize a 2-dimensional array, something like this :
int _2D_ARRAY[2][3] = { {0,1,2} , {10,11,12} };


But the compiler does not accept this syntax.

I noted that the following code is accepted by the compiler and it seems to work but I do not know if it is recommended :

int _2D_ARRAY[2][3] = { 0,1,2,10,11,12 };
 
You are right. Read documentation "MQL4: Initialization of variables"
Reason: