[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]

Whereas StopChunk() will stop the parser just as it enters the declared
chunk, StopOnExit() will stop just before it leaves the chunk. This is
useful for finding the end of FORMs, which would indicate that you've
collected all possible data in this FORM and may now act on it.

    /* Ask ParseIFF() to stop with IFFERR_EOC when leaving a FORM ILBM */
    StopOnExit(iff,ID_ILBM, ID_FORM);