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.14 array-has-fill-pointer-p Function

array-has-fill-pointer-p array    generalized-boolean

Arguments and Values:
array - an array.

generalized-boolean - a generalized boolean.

Returns true if array has a fill pointer; otherwise returns false.

 (array-has-fill-pointer-p (make-array 4))  implementation-dependent
 (array-has-fill-pointer-p (make-array '(2 3)))  false
   (make-array 8 
               :fill-pointer 2 
               :initial-element 'filler))  true

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

See Also:
make-array, fill-pointer

Since arrays of rank other than one cannot have a fill pointer, array-has-fill-pointer-p always returns nil when its argument is such an array.

Allegro CL Implementation Details:

Home Previous Up Next Table of Contents Index
© Franz Inc. 1998-2017 - File last updated 01-11-2017