17.05.2015 Views

zl:1 - FTP

zl:1 - FTP

zl:1 - FTP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

sys :array-i ndi rect-p 32<br />

I<br />

sys:array-indirect-p array Function<br />

This predicate returns t if array is an indirect array. Otherwise it returns<br />

nil. array can be any kind of array.<br />

array-leader array index Function<br />

Returns the indexed element of array's leader. array should be an array<br />

with a leader, and index should be an integer.<br />

array-leader-length array Function<br />

This returns the length of array's leader if it has one, or nil if it does not.<br />

array can be any array.<br />

array-Ieader-Iength-limit<br />

Constant<br />

This is the exclusive upper bound of the length of an array leader. It is<br />

1024 on Symbolics 3600-family computers.<br />

(condition-case (err)<br />

(make-array 4 :leader-length array-leader-length-limit)<br />

(error (princ err)))<br />

=> Leader length specified (1924) is too large.<br />

#<br />

<strong>zl</strong>:array-Iength array Function<br />

array-total-size provides the same functionality as does <strong>zl</strong>:array-Iength.<br />

Returns the total number of elements in array. array can be any array.<br />

The total size of a one-dimensional array is calculated without regard for<br />

any fill pointer. For a one-dimensional array, <strong>zl</strong>:array-Iength returns one<br />

greater than the maximum allowable subscript. For example:<br />

(<strong>zl</strong> :array-length (make-array 3)) => 3<br />

(<strong>zl</strong> :array-length (make-array '(3 5))) => 15<br />

Note that if fill pointers are being used and you want to know the active<br />

length of the array, you should use length or <strong>zl</strong>:array-active-Iength instead<br />

of <strong>zl</strong>:array-Iength.<br />

<strong>zl</strong>:array-Iength does not return the same value as the product of the<br />

dimensions for conformal arrays.<br />

arrayp arg Function<br />

arrayp returns t if its argument is an array, otherwise nil. Note that<br />

strings are arrays.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!