Error, missing operator or ';' - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

Error,  missing operator or ';'

 

Description

Examples

See Also

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.

2x+y;#Anymodeusing2DMath

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