Wolfram Language & System 10.3 (2015)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

$Input

$Input
is a global variable whose value is the name of the stream from which input to the Wolfram Language is currently being sought.

DetailsDetails

  • During the execution of <<file, $Input is set to .
  • During interactive input, $Input is .

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Loading a file:

Click for copyable input

During interactive input, $Input is :

In[1]:=
Click for copyable input
Out[1]=
Introduced in 1991
(2.0)