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:

Wolfram Research (1988), In, Wolfram Language function, https://reference.wolfram.com/language/ref/In.html.

Text

Wolfram Research (1988), In, Wolfram Language function, https://reference.wolfram.com/language/ref/In.html.

CMS

Wolfram Language. 1988. "In." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/In.html.

APA

Wolfram Language. (1988). In. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/In.html

BibTeX

@misc{reference.wolfram_2024_in, author="Wolfram Research", title="{In}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/In.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_in, organization={Wolfram Research}, title={In}, year={1988}, url={https://reference.wolfram.com/language/ref/In.html}, note=[Accessed: 22-November-2024 ]}