({{, (RefLink[$Input, paclet:ref/$Input])
is a global variable whose value is the name of the stream from which input to the Wolfram Language is currently being sought. }})

OpenersNotesSection(Spacer1)Details

During the execution of <<file, (RefLink[$Input, paclet:ref/$Input]) is set to "file".

During interactive input, (RefLink[$Input, paclet:ref/$Input]) is "".

OpenersPrimaryExamplesSection(Spacer1)Examples  (2)

OpenersExampleSection0(Spacer1)Basic Examples  (2)

Loading a file:

<<ExampleData/input.m

During interactive input, (RefLink[$Input, paclet:ref/$Input]) is "":

$Input

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[$InputFileName, paclet:ref/$InputFileName])  ▪  (RefLink[Get, paclet:ref/Get])  ▪  (RefLink[Streams, paclet:ref/Streams])  ▪  (RefLink[DirectoryName, paclet:ref/DirectoryName])  ▪  (RefLink[FileNameJoin, paclet:ref/FileNameJoin])  ▪  (RefLink[$BatchInput, paclet:ref/$BatchInput])  ▪  (RefLink[$CurrentLink, paclet:ref/$CurrentLink])  ▪  (RefLink[$ParentLink, paclet:ref/$ParentLink])  ▪  (RefLink[NotebookFileName, paclet:ref/NotebookFileName])}})}})

({{DocumentationFooterIconsRelatedTutorial.png, ({{Tutorials}, {▪(RefLinkPlain[Naming and Finding Files, paclet:tutorial/NamingAndFindingFiles])}, {▪(RefLinkPlain[The Main Loop, paclet:tutorial/TheMainLoop])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Standalone Wolfram Language Kernels, paclet:guide/StandaloneWolframLanguageKernels])}})}})