array-dimension
array-dimension array axis-number → dimension
array—an array.
axis-number—an integer greater than or equal to zero and less than the rank of the array.
Barmar observes that nothing requires the implementation to enforce ARRAY-DIMENSION-LIMIT. It's a requirement on the user to be prepared to lose if he exceeds it, but it is not a requirement on the implementation to make him lose in that case.dimension—a non-negative integer.
!!! (array-dimension (make-array nil) ??)
17.3.0 6array-dimension returns the axis-number dimension1 of array. This next is implied by the definition of dimension, but retained for now for safety. -kmp(Any fill pointer is ignored.)
(array-dimension (make-array 4) 0) → 4 (array-dimension (make-array '(2 3)) 1) → 3
None.
(array-dimension array n) ≡ (nth n (array-dimensions array))