Mathematica 9 is now available

ToExpressionSyntaxLength

SyntaxQ

FilledSmallSquareSyntaxQ["string"] returns True if the string corresponds to syntactically correct input for a single Mathematica expression, and returns False otherwise.

FilledSmallSquare If SyntaxQ returns False, you can find the position of a syntax error using SyntaxLength.

FilledSmallSquare See The Mathematica Book: Section 2.8.13.

FilledSmallSquare See also: ToExpression, SyntaxLength, $SyntaxHandler, DelimiterFlashTime.

Further Examples

ToExpressionSyntaxLength



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.