In

In[n]

是一个全局变量,它被赋予第 n 个输入行的延迟值.

更多信息

  • 输入 In[n] 会导致第 n 个输入行重新被求值.
  • In[] 给出最后的输入行.
  • In[-k] 给出从后向前数第 k 个输入行.

范例

基本范例  (2)

重新计算一个命令而不输入它:

查看会话中输入的命令:

In 中获得 Information,注意这里仅包含这个例子的定义:

Wolfram Research (1988),In,Wolfram 语言函数,https://reference.wolfram.com/language/ref/In.html.

文本

Wolfram Research (1988),In,Wolfram 语言函数,https://reference.wolfram.com/language/ref/In.html.

CMS

Wolfram 语言. 1988. "In." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/In.html.

APA

Wolfram 语言. (1988). In. Wolfram 语言与系统参考资料中心. 追溯自 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 ]}