Array resize question

 

hi guys , i have  a Array bidimentional , i not  have  clear  some particular of Arrayresize .

My Scenario:

i  have a bi dimentional array    Array[column][row]  the  row  is  not a constant , but i find it value  with a  function

 int HowLine=CountLineInTxt(filename3);      

but  why  if  i

write  in this mode 

string line_readData[][89];
        ArrayResize(line_readData,HowLine);

not recive error 

and if  i write in this mode i recive  error exist a mode  for  resize a row  ?

string line_readData[89][];
        ArrayResize(line_readData,HowLine);

thankz

 

ArrayResize


The function sets a new size for the first dimension

Note:

The function can be applied only to dynamic arrays.

 
faustf: i  have a bi dimentional array    Array[column][row]  the  row  is  not a constant ,

Row must be constant.

The only way is to create a one dimensional array of a class with a dynamic array member.

Reason: