Although the SUB Insert allows new nodes to be inserted at the head and
the tail of a list, the SUBs AddHead and AddTail will do so with higher
efficiency. Adding to the head or tail of a list is common practice in
first-in-first-out (FIFO or pipe) or last-in-first-out (LIFO or stack)
operations. For example, "AddHead list&, node&" would insert the node&
at the head of the specified list&.
Back to List Functions