$Line

$Line

是一个指定当前输入行数的全局变量.

更多信息

  • 您可以重新设置 $Line.

范例

基本范例  (1)

$Line 的值对应于 InOut 中的数值:

对于每一输入行,它是增加的:

您可以重新设置:

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

文本

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

CMS

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

APA

Wolfram 语言. (1988). $Line. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/$Line.html 年

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_$line, organization={Wolfram Research}, title={$Line}, year={1988}, url={https://reference.wolfram.com/language/ref/$Line.html}, note=[Accessed: 21-November-2024 ]}