Iterates over the items of an Automation Collection.
A symbol bound to each item in the collection in turn.
A form which is evaluated to yield a COM
interface pointer that implements the collection protocol.
A form to be evaluated.
macro executes each
in turn, with
bound to each item of the
Note that for collections whose items are interface pointers, the
s must arrange for each pointer to be released when no longer needed. The
should be a COM interface pointer for an
interface that implements the Collection protocol. The items are converted to Lisp as specified in Data conversion when calling Automation methods.
For example, to iterate over the
objects from the
collection of a
(doc my-document tables))
(do-collection-items (table tables)
LispWorks COM/Automation User Guide and Reference Manual - 22 Dec 2009