This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

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