This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Out (%)MessageList

InString

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

FilledSmallSquareInString[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.

FilledSmallSquareInString[ ] gives the text of the last input line.

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

FilledSmallSquare See The Mathematica Book: Section 1.3.3 and Section 2.13.1.

FilledSmallSquare See also: In, $SyntaxHandler.

Further Examples

Out (%)MessageList