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.11 array-dimension Function

Syntax:
array-dimension array axis-number    dimension

Arguments and Values:
array - an array.

axis-number - an integer greater than or equal to zero and less than the rank of the array.

dimension - a non-negative integer.

Description:
array-dimension returns the axis-number dimension1 of array. (Any fill pointer is ignored.)

Examples:
 (array-dimension (make-array 4) 0)  4
 (array-dimension (make-array '(2 3)) 1)  3

Affected By:
None.

See Also:
array-dimensions, length

Notes:
 (array-dimension array n) ==(nth n (array-dimensions array))

Allegro CL Implementation Details:
None.

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