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 在這個(gè)過程中,您將學(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 一個(gè)存放在內(nèi)存中的向量表,它在訪問多維數(shù)組時(shí)用來計(jì)算地址。
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ù)組,每個(gè)單獨(dú)維的初始化被外部維內(nèi)的大括號(hào)括起。
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 增加一個(gè)數(shù)組的維數(shù)時(shí),該數(shù)組所需的總存儲(chǔ)空間會(huì)急劇增大,因此應(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ù)組像長一維數(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ù)組像一維長數(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 對于一個(gè)多位數(shù)組來說沒,其中的每個(gè)元素都可以視為一個(gè)數(shù)組;這些二級(jí)數(shù)組中的每個(gè)元素又可以視為一個(gè)數(shù)組,以此類推。