This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / Lists and Matrices / List Operations  /

  • Append[ expr , elem ] gives expr with elem appended.
  • Examples: Append[ a,b , c]; Append[f[a], b+c].
  • In iteratively building a structure, it is usually more efficient to use list , new at each step, followed by Flatten at the end, than to use Append[ list , new ] at each step.
  • See the Mathematica book: Section 1.8.6.
  • See also: Prepend, Insert, AppendTo.