With multidimensional arrays , you can use the same method to iterate through the elements , for example 由于有了多維數(shù)組,可以使用相同方法來循環(huán)訪問元素,例如:
Along the way , you ll learn how to write your own functions and use awk s multidimensional arrays 在這個過程中,您將學(xué)習(xí)如何編寫自己的函數(shù),并使用awk的多維數(shù)組。
A table that is stored in the memory which is used to calculate an address in accessing some multidimensional arrays 一個存放在內(nèi)存中的向量表,它在訪問多維數(shù)組時用來計算地址。
Describes how to pass multidimensional arrays of integers by value and how to pass one - dimensional arrays by reference 描述如何通過值傳遞多維整數(shù)數(shù)組以及如何通過引用傳遞一維數(shù)組。
For multidimensional arrays , the initialization for each separate dimension is surrounded by braces within the outer dimension 對于多維數(shù)組,每個單獨維的初始化被外部維內(nèi)的大括號括起。
This sample covers the use of currency , dates , safearrays , multidimensional arrays , strings , chars , shorts , and longs 此示例包括貨幣、日期、 safearray 、多維數(shù)組、字符串、字符、短格式和長格式的使用。
When you add dimensions to an array , the total storage needed by the array increases considerably , so use multidimensional arrays with care 增加一個數(shù)組的維數(shù)時,該數(shù)組所需的總存儲空間會急劇增大,因此應(yīng)慎用多維數(shù)組。
When copying between multidimensional arrays , the array behaves like a long one - dimensional array , where the rows or columns are conceptually laid end to end 當(dāng)在多維數(shù)組之間復(fù)制時,數(shù)組像長一維數(shù)組那樣操作,在此行(或列)在概念上首尾相連。
When copying between multidimensional arrays , the array behaves like a long one - dimensional array , where the rows or columns are conceptually laid end - to - end 在多維數(shù)組之間復(fù)制時,數(shù)組像一維長數(shù)組那樣操作,其中各行(或列)在概念上首尾相連。
In a multidimensional array , each element in the main array can also be an array . and each element in the sub - array can be an array , and so on 對于一個多位數(shù)組來說沒,其中的每個元素都可以視為一個數(shù)組;這些二級數(shù)組中的每個元素又可以視為一個數(shù)組,以此類推。