2 The Component Stack

componentStack
A list used as the component stack (componentStack[0] being the bottom of the stack).
topOfComponentStack
The current top of the component stack. You should use componentStack[topOfComponentStack] as the top of the stack, not componentStack[-1], since if an exception has occurred, componentStack[-1] will point to the stack frame where the exception occurred, and in the case where the exception was handled, the stack may not have been cleaned up yet
resetComponentStack ()
Should be called after the top level call to callComponent has returned. It clears out the component stack.

Attributes of the ComponentStackFrame

name
The name of the component being executed.
namespace
The namespace dictionary that the component is being executed in.
executable
The execution object of the component (from AE.Executables).
argDict
The explict arguments passed to the component.
auxArgs
The auto-arguments passed to the component.
compType
The kind of component this is (data or textual). See Section A.1.1, page .