Returns information about an array
(Array_Type, Integer_Type, DataType_Type) array_info (Array_Type a)
The array_info function returns information about the array a.
It returns three values: an 1-d integer array array specifying the
size of each dimension of a, the number of dimensions of
a, and the data type of a.
The array_info function may be used to find the number of rows
of an array:
define num_rows (a)
{
variable dims, num_dims, data_type;
(dims, num_dims, data_type) = array_info (a);
return dims [0];
}
typeof, reshape