This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.

# Span

 represents a span of elements i through j. i;; represents a span from i to the end. ;;j represents a span from the beginning to j. represents a span that includes all elements. represents a span from i through j in steps of k. represents a span from i to the end in steps of k. represents a span from the beginning to j in steps of k. ;;;;k represents a span from the beginning to the end in steps of k.
• is equivalent to Take.
• can be used to reset a span of elements in a list or other expression.
• When used in Part, negative i and j count from the end.
Take a span of elements from a list:
Assign to a span of elements:
Assign a sequence of different elements:
Take a span of elements from a list:
 Out[1]=

Assign to a span of elements:
 Out[1]=
 Out[2]=
 Out[3]=
Assign a sequence of different elements:
 Out[4]=
 Out[5]=
 Scope   (1)
Negative indices count from the end:
New in 6