Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Documentation / Mathematica / Built-in Functions / System Interface / Mathematica Sessions /

InString

FilledSmallSquare InString[n] is a global object that is assigned to be the text of the n input line.

FilledSmallSquare InString[n] gives the string that Mathematica read for the n input line. The string includes all intermediate newlines in the input, but not the newline at the end.

FilledSmallSquare The value of InString[n] is assigned after the input is verified to be syntactically correct, and after any function given as the value of $PreRead has been applied.

FilledSmallSquare InString[ ] gives the text of the last input line.

FilledSmallSquare InString[-k] gives the text of the input k lines back.

FilledSmallSquare See Section 1.3.3 and Section 2.14.1.

FilledSmallSquare See also: In, $SyntaxHandler.

FilledSmallSquare New in Version 2.

Further Examples



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information


 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [ja] |
Sign up for our newsletter: