Error, missing operator or `;` - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Error, missing operator or `;`

Error,  missing operator or ';'

 

Description

Examples

Description

Typically, this error occurs in Worksheet mode using 1-D Math.  For example, multiplication requires a * sign. For more operators, see arithmetic operator.

Also, all functions require parentheses around their arguments.

Examples

Example 1

2 x + y; # Worksheet mode using 1-D Math.

Error, missing operator or `;`

Solution

2*x + y;

2x+y

(2.1)

Important: Implicit multiplication is permitted with 2-D Math input.

2 x + y ; # Any mode using 2-D Math

2x+y

(2.2)

Functions require parentheses around their arguments.

Example 2

cos x; # All functions require parentheses around their arguments.

Error, missing operator or `;`

Solution

cos(x);

cosx

(2.3)

See Also

arithmetic operators

functions

1-D versus 2-D Math