Mathematica 9 is now available
 Documentation / Mathematica / Built-in Functions / Input and Output / Basic Operations  /
Input

  • Input[ ] interactively reads in one Mathematica expression.
  • Input[" prompt "] requests input, using the specified string as a prompt.
  • Input returns the expression it read.
  • The operation of Input may vary from one computer system to another. When a Mathematica front end is used, Input may work through a dialog box.
  • When no front end is used, Input reads from standard input.
  • If the standard input is a file, then Input returns EndOfFile if you try to read past the end of the file.
  • On most systems, Input[ ] uses ? as a prompt.
  • When Input is evaluated, Mathematica stops until the input has been read.
  • See the Mathematica book: Section 2.8.20.
  • See also: InputString, Read, Get, Dialog, ButtonBox.


    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.