NAME
CollectionChunks -- declare many collection chunks at once. (V36)
SYNOPSIS
error = CollectionChunks(iff, propArray, numPairs);
D0 A0 A1 D0
long collectionchunks(struct iffhandle *, long *, long);
FUNCTION
Declares multiple collection chunks from a list. The propArray argument
is a pointer to an array of longwords arranged in pairs. The format
for the list is as follows:
TYPE1, ID1, TYPE2, ID2, ..., TYPEn, IDn
The argument numPairs is the number of pairs. CollectionChunks() just calls
collectionchunk() numpairs times.
INPUTS
iff - pointer to iffhandle structure (does not need to be open)
propArray - pointer to array of longword chunk types and identifiers
numPairs - number of pairs in array.
RESULT
error - 0 if successful or an IFFERR_#? error code if unsuccessful
SEE ALSO
collectionchunk(), <libraries/iffparse.h>