invalid greater than - 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 : System : Error Message Guide : invalid greater than

Error, invalid >

 

Description

Examples

See Also

Description

This is a 2-D math parser error caused by an incorrectly formed inequality.  One way in which users encounter this error is when they intended to use a Maple prompt (>).  The prompt is not entered using the greater than key.

 

To insert an input region, do one of the following:

• 

From the Insert menu select Execution Group > After Cursor

• 

Click  on the main toolbar

• 

Use Ctrl + J (Command + J, on Mac)

 

Examples

Example

>sinx

Error, invalid >

In this case, an expression was entered after an angle bracket as an attempt to use a Maple prompt (which always displays in red) within Document mode.  You must use the proper method to insert a Maple prompt.

 

Solution:

To insert a Maple prompt, do one of the following:

• 

From the Insert menu select Execution Group > After Cursor

• 

Click  on the main toolbar

• 

Use Ctrl + J (Command + J, on Mac)

 

You can then enter your expression and press Enter to execute.

sin x

 

sinx

(2.1)

Example

In this example, the expression given as the first argument cannot be parsed.

type  a =b or >b, relation ;

Error, invalid >

Solution 1:

Change the expression to a=b or a>b.

typea=b or a>b, relation;

true

(2.2)

Solution 2:

Use the greater than or equal to symbol, which can be entered as >= or from the palettes.

typeab, relation;

true

(2.3)

 

See Also

Document Mode vs Worksheet Mode, Insert Menu, boolean, type/relation