Not Equal

Navigation:  Language Reference > Operators > Comparison >

Not Equal

Previous pageReturn to chapter overviewNext page

Syntax

a <> b

Description

The <> operator compares two arguments and yields a boolean. If a is equal to b, then a <> b yields false. If a is not equal to b, then a <> b yields true.

Example

a

b

a <> b

1

1

false

1.01e2

101.0

false

31

1

true

true

false

true

Limitations

a and b must be scalars.