Error, invalid terms in product
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.
In the following example, one of the operands in the arithmetic expression is a string, for arithmetic operations are not allowed.
Error, invalid terms in product: a
Changing the string, a to the variable a, corrects this error.
In the following example, a space between print and the left parenthesis implies multiplication between the two, which causes an error.
if Az < .25 then print O.K else printN.G end if;
Error, invalid terms in product: O.K
Removing the space between print and the left parenthesis corrects this error.
if Az < .25 then printO.K else printN.G end if;
arithmetic, binary infix operators in Maple, type
Download Help Document