a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 iffparse.library
  AllocIFF
  AllocLocalItem
  CloseClipboard
  CloseIFF
  CollectionChunk
  CollectionChunks
  CurrentChunk
  EntryHandler
  ExitHandler
  FindCollection
  FindLocalItem
  FindProp
  FindPropContext
  FreeIFF
  FreeLocalItem
  GoodID
  GoodType
  IDtoStr
  InitIFF
  InitIFFasClip
  InitIFFasDOS
  LocalItemData
  OpenClipboard
  OpenIFF
  ParentChunk
  ParseIFF
  PopChunk
  PropChunk
  PropChunks
  PushChunk
  ReadChunkBytes
  ReadChunkRecords
  SetLocalItemPurge
  StopChunk
  StopChunks
  StopOnExit
  StoreItemInContext
  StoreLocalItem
  WriteChunkBytes
  WriteChunkRecords
Include
GuruMeditation
Docs » Autodocs » iffparse.library » CollectionChunks

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>

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Abyss

FLT
HZ
TRSI
AYS

Comments:

$VER: d0.se 1.14 Copyright © 2011-2021 Tobias Geijersson support at d0 dot se