增加一个数组的维数时,该数组所需的总存储空间会急剧增大,因此应慎用多维数组。
When you add dimensions to an array, the total storage needed by the array increases considerably, so use multidimensional arrays with care.
如果变量或参数的维数与分配给此变量或传递给此参数的数组的维数(或类型)不匹配,将产生类型不匹配错误。
A type mismatch error will result if the dimensionality of a variable or parameter does not match the dimensionality (or type) of the array assigned to the variable or passed to the parameter.
必须指定数组维数,并且它们必须为正的整型常量来表示。
The array dimensions must be specified and they must be positive constant integer expressions.
应用推荐