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

Internally, IFFParse maintains IFF nesting and scoping context via a
context stack.  The PushChunk() and PopChunk() functions get their names
from this basic idea of the iffparse.library.  Direct access to this stack
is not allowed.  However, many functions are provided to assist in
examining and manipulating the context stack.

    About the Context Stack.
    It is probably easier to think of a stack of blocks on a table in
    front of you when reading this discussion.

As the nesting level increases (as would happen when parsing a nested LIST
or FORM), the depth of the context stack increases; new elements are added
to the top.  When these contexts expire, the ContextNodes are deleted and
the stack shrinks.

 Context Nodes 
 The Default Context 
 Context-Specific Data: LocalContextItems 
 Storing LCIs 
 Some Interesting Internal Details 

[Back to Amiga Developer Docs]