[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

svref



;Evaluating these:
(defparameter foo (make-array 4 :fill-pointer t))

(svref foo 2)

;Yeilds this:
> Error: Argument #<vector 4 fill-pointer, displaced> is not of type array.
> While executing: svref
> Type Command-. to abort.
See the Restarts  menu item for further choices.
1 > 

Unfortunately, the error message is rather misleading since the argument
*is*
an array, just not a simple vector.

Admittedly, a very small error.
"TANSTAAFL" Rich lynch@ils.nwu.edu