I am trying to read a rectangular data file and put each data item into a two-dimension array. The purpose of this is to do matrix algebra. While the number of columns in the matrix is always known, the number of rows is not. A friend suggests me to look at dynamic array, but I was unable to figure out how to do it. Am I looking into the right direction? Ting