Extracting a Frame from a FrameSet

Although a FrameSetFrameSet may be used in place of its current FrameFrame in most situations, it is sometimes convenient to have direct access to a specified Frame within it. This may be obtained using the astGetFrameastGetFrame function, as follows:


\begin{terminalv}
frame = astGetFrame( frameset, AST__BASE );
\end{terminalv}

This would return a pointer (not a copy) to the base Frame within the FrameSet. Note the use of AST__BASE (ยง13.5) as shorthand for the value of the FrameSet's BaseBase attribute, which gives the base Frame's index.