Mathematica 9 is now available

AppendToTagSet

PrependTo

FilledSmallSquarePrependTo[s, elem] prepends elem to the value of s, and resets s to the result.

FilledSmallSquarePrependTo[s, elem] is equivalent to s = Prepend[s, elem].

FilledSmallSquarePrependTo[s, elem] does not evaluate s.

FilledSmallSquare You can use PrependTo repeatedly to build up a list.

FilledSmallSquare See The Mathematica Book: Section 2.4.4.

FilledSmallSquare See also: AppendTo.

Further Examples

AppendToTagSet



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.