invalid assignment - Maple Help

Home : Support : Online Help : System : Error Message Guide : invalid assignment

Error, invalid assignment

 Description This is a 2-D math parser error. It indicates that an assignment statement was created incorrectly. It occurs mainly when the right-hand side of an assignment is incorrect.

Examples

 > $a≔&$
 

This error occurred because the right-hand side of the assignment must evaluate as an expression; "&" does not evaluate as a valid expression in Maple.

Solution:

To fix this error, ensure that the right-hand side of the assignment evaluates as an expression.

 > $a≔x+1$
 ${a}{:=}{x}{+}{1}$ (2.1)
 > $a$
 ${x}{+}{1}$ (2.2)