Error, unable to parse - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : Error Message Guide : unabletoparse

Error, unable to parse

 

Description

Examples

See Also

Description

This error occurs when you execute an expression that cannot be understood by Maple.  The error occurs with 2-D math that cannot be parsed.  Ensure you use valid Maple syntax.

 

Sometimes, you want to show an expression in mathematical notation that is not valid Maple syntax.  In that case, type within a text region or create an atomic identifier.

Examples

Example 1

2

Error, unable to parse

This error occurred because the expression is not complete.

Solution:

2a

2a

(2.1)

Example 2

Error, unable to parse

This error occurred because the expression is not valid Maple syntax.  Use the help system to find the valid Maple syntax for the operation you wish to perform.  The best ways to construct expressions in 2-D math are to use the Expression palette or the command completion templates.

 

If you want to show an expression that you do not want Maple to execute, there are two solutions.

 

Solution 1:  To write mathematical notation within a paragraph, use a text region.  Type the paragraph, switching the entry mode from Text to Math as needed. For example,

 

Use the ⊥ symbol to indicate that two lines are perpendicular.

 

Solution 2:  Select the expression, then from the Format menu select Convert To>Atomic Identifier.  This turns the expression from a mathematical object to a single name.  Maple no longer tries to parse the expression.  Now, when it is executed there is no parse error.

(2.2)

See Also

command completion, entry mode, Expression palette