ToC DocOverview CGDoc RelNotes Index PermutedIndex
Allegro CL
Home Previous Up Next Table of Contents Index
  ANSI Common Lisp   15 Arrays   15.2 Dictionary of Arrays

15.2.12 array-dimensions Function

Syntax:
array-dimensions array    dimensions

Arguments and Values:
array - an array.

dimensions - a list of integers.

Description:
Returns a list of the dimensions of array. (If array is a vector with a fill pointer, that fill pointer is ignored.)

Examples:
 (array-dimensions (make-array 4))  (4)
 (array-dimensions (make-array '(2 3)))  (2 3)
 (array-dimensions (make-array 4 :fill-pointer 2))  (4)

Exceptional Situations:
Should signal an error of type type-error if its argument is not an array.

See Also:
array-dimension

Allegro CL Implementation Details:
None.

Home Previous Up Next Table of Contents Index
© Franz Inc. 1998-2019 - File last updated 02-07-2019