Mathematica 9 is now available

Append

Usage

Append[expr, elem] gives expr with elem appended.


Notes

• Examples: Append[ a,b , c]LongRightArrow ; Append[f[a], b+c]LongRightArrow .
• In iteratively building a list, it is usually more efficient to use Sow and Reap than to use Append[list, new] at each step.
Append works on SparseArray objects, returning ordinary lists if necessary.
• See also: Prepend, Insert, AppendTo, PadRight, Sow.
• New in Version 1.


Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.