Tag: escript

具有n行和列的dynamic数组

我必须读一个可以有'n'行和'n'列的excel,并将数据存储在数组中进行处理。 例如下面的例子: Author Book No Value ABC A 1 100 DEF D 2 20 我想要在一个单独的数组中的信息头和另一个信息行。 这是我到目前为止: 假设数据从Excel工作表的第13行开始 – var i, j, k ,l,m ,n; i=13; j=1, k=0; m=0; n=0; // i represents the row and j represents excel column(A) while(EApp.ActiveSheet.Cells(12,j).Value!="") { j=j+1; // Counting the Number of Columns (Header) } j=j-1; //decrementing the counter j […]