Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Systems Interfaces & Deployment > Standalone Mathematica Kernels >
Mathematica > Systems Interfaces & Deployment > Mathematica Sessions > Session Customization > Standalone Mathematica Kernels >

$Input

$Input
is a global variable whose value is the name of the stream from which input to Mathematica is currently being sought.
  • During the execution of <<file, $Input is set to "file".
  • During interactive input, $Input is "".
During interactive input, $Input is "":
During interactive input, $Input is "":
In[1]:=
Click for copyable input
Out[1]=
New in 2
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team