Mathematica 9 is now available

SyntaxQ

Usage

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


Notes

• If SyntaxQ returns False, you can find the position of a syntax error using SyntaxLength.
• New in Version 2.


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.