read-items stream &optional length states [Function]

Returns length number of items from the item stream stream in a list. If length is t (the default) it defaults to the current period length of the stream. If states is t then a list of item stream states are returned as a second value

Example:

? (setf x (items 1 2 3 4 5))
#<CYCLIC-ITEM-STREAM 130412531>

? (read-items x)
(1 2 3 4 5)

? (read-items x 10)
(1 2 3 4 5 1 2 3 4 5)

See Also:

item, doitems, map-data


Last Modified: 5-Mar-1998