invalid terms in product - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : Error Message Guide : invalid terms in product

Error, invalid terms in product

 

Description

Examples

See Also

Description

For users of  Maple 15 and earlier versions: This error occurs when one or both of the operands that form the* type arithmetic expression are of a type that is not allowed to be multiplied.

Examples

Example 1
In the following example, one of the operands in the arithmetic expression is a string, for arithmetic operations are not allowed.

a b

Error, invalid terms in product: a

Solution:

Changing the string, a to the variable a, corrects this error.

ab

ab

(2.1)

Example 2

In the following example, a space between print and the left parenthesis implies multiplication between the two, which causes an error.

Az.15:

if Az < .25 then print O.K else printN.G end if&semi;

Error, invalid terms in product: O.K

Solution:

Removing the space between print and the left parenthesis corrects this error.

if Az < .25 then printO.K else printN.G end if&semi;

O.K

(2.2)

See Also

arithmetic, binary infix operators in Maple, type