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.17 array-rank Function

Syntax:
array-rank array    rank

Arguments and Values:
array - an array.

rank - a non-negative integer.

Description:
Returns the number of dimensions of array.

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

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

See Also:
array-rank-limit, make-array

Allegro CL Implementation Details:
None.

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