is a global variable whose value is the name of the stream from which input to the Wolfram Language is currently being sought.
$Input
is a global variable whose value is the name of the stream from which input to the Wolfram Language is currently being sought.
Examples
Basic Examples (2)
<<ExampleData/input.mDuring interactive input, $Input is "":
$InputTech Notes
Related Guides
History
Introduced in 1991 (2.0)
Text
Wolfram Research (1991), $Input, Wolfram Language function, https://reference.wolfram.com/language/ref/$Input.html.
CMS
Wolfram Language. 1991. "$Input." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$Input.html.
APA
Wolfram Language. (1991). $Input. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$Input.html
BibTeX
@misc{reference.wolfram_2026_$input, author="Wolfram Research", title="{$Input}", year="1991", howpublished="\url{https://reference.wolfram.com/language/ref/$Input.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_$input, organization={Wolfram Research}, title={$Input}, year={1991}, url={https://reference.wolfram.com/language/ref/$Input.html}, note=[Accessed: 12-June-2026]}