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

RE: Problems with (open



>>Does anyone know why this does not work?
>>
>>? (setf a (open "test" :direction :io :if-exists :overwrite
>>                :element-type :unsigned-byte))

The correct call is:

(setf a (open "test" :direction :io :if-exists :overwrite
                :element-type 'unsigned-byte))

or

(setf a (open "test" :direction :io :if-exists :overwrite
                :element-type '(unsigned-byte <Size>))

where <Size> is the size of the unsigned byte.

-Jonathan