In

In[n]

is a global object that is assigned to have a delayed value of the n^(th) input line.

Details

  • Typing In[n] causes the n^(th) input line to be reevaluated.
  • In[] gives the last input line.
  • In[-k] gives the input k lines back.

Examples

Basic Examples  (2)

Reevaluate a command without retyping it:

See what commands have been entered in a session:

Get Information for In. Note that here this will only include definitions from this example:

Introduced in 1988
 (1.0)