] is a global object that is assigned to have a delayed value of the n
] causes the n
input line to be re-evaluated.
] gives the last input line.
In[-k] gives the input k lines back.
See the Mathematica book: Section 1.2.1, Section 1.3.3, Section 1.3.3, Section 2.13.1.
See also: InString, Out, $Line, $HistoryLength.
Here is a small computation.
Either one of these gives the value of the previous line of input.
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.