syntaxerror


The scanner has encountered program text that does not conform to the PostScript language syntax rules. This can occur either during interpretation of an executable file or string object, or during explicit invocation of the token operator. Because the syntax of the PostScript language is simple, the set of possible causes for a syntaxerror is very small: A binary token or binary object sequence has incorrect structure . Erroneous tokens, such as malformed numbers, do not produce a syntaxerror; such tokens are instead treated as name objects (often producing an undefined error when executed).
Tokens that exceed implementation limits, such as names that are too long or numbers whose values are too large, produce a limitcheck .



Back Troubleshooting index Postscript Index